File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,36 @@ UICollectionView calculates size of view by AutoLayout, then that display.
2626
2727``` swift
2828let stack = StackScrollView ()
29- stack.append (view : UIView ())
29+
30+ stack.append (view : ... )
31+
32+ stack.remove (view : ... , animated : true )
33+ ```
34+
35+ ### APIs
36+
37+ #### StackScrollView
38+
39+ ``` swift
40+ func append (view : UIView)
41+ func remove (view : UIView, animated : Bool )
42+ func scroll (to view : UIView, at position : UICollectionViewScrollPosition, animated : Bool )
3043```
3144
45+ #### StackCellType
46+
47+ StackScrollView does not required StackCellType.
48+ if ` StackCell ` has ` StackCellType ` , be easy that control StackCell.
49+
50+ ``` swift
51+ func scrollToSelf (animated : Bool )
52+ func scrollToSelf (at position : UICollectionViewScrollPosition, animated : Bool )
53+ func updateLayout (animated : Bool )
54+ func remove ()
55+ ```
56+
57+ * Demo has included this APIs usage.*
58+
3259### Create CustomCell from Code
3360
3461* We have to set constraints completely.*
You can’t perform that action at this time.
0 commit comments