You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -74,6 +75,8 @@ If you have a long list of rows you may experience delays.
74
75
75
76
So, `ScrollStackController` is generally not appropriate for screens that contain many views of the same type, all showing similar data (in these cases you should use `UITableView` or `UICollectionView`).
76
77
78
+

79
+
77
80
[↑ Back To Top](#index)
78
81
79
82
<aname="howtouseit"/>
@@ -84,7 +87,7 @@ The main class of the package is `ScrollStack`, a subclass of `UIScrollView`. It
84
87
85
88
This is an overview of the architecture:
86
89
87
-

90
+

88
91
89
92
-`ScrollStackController `: is a subclass of `UIViewController`. You would to use it and add as a child controller of your view controller. This allows you to manage any child-controllers related events for each row you will add to the stack controller.
90
93
-`ScrollStack`: the view of the `ScrollStackController ` is a `ScrollStack`, a subclass of `UIScrollView` with an `UIStackView` which allows you to manage the layout of the stack. You can access to it via `scrollStack` property of the controller.
@@ -563,6 +566,8 @@ class ViewController: ScrollStackController, ScrollStackControllerDelegate {
563
566
- `hidden`: row is invisible and hidden.
564
567
- `offscreen`: row is not hidden but currently offscreen due to scroll position.
565
568
569
+
[↑ Back To Top](#index)
570
+
566
571
<a name="systemrequirements"/>
567
572
568
573
### System Requirements
@@ -573,6 +578,16 @@ class ViewController: ScrollStackController, ScrollStackControllerDelegate {
573
578
574
579
[↑ Back To Top](#index)
575
580
581
+
<a name="exampleapp"/>
582
+
583
+
### Example App
584
+
585
+
`ScrollStackController` comes with a demo application which show how easy you can create complex scrollable layoyut and some of the major features of the library.
586
+
587
+
You should look at it in order to implement your own layout, create dynamically sized rows and dispatch events.
0 commit comments