File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,14 @@ tableView.startRefreshing()
6262But you probably won’t use this component, though. * UITableViewController* and * UICollectionViewController* already have a simple type of refresher.
6363It’s much more interesting to develop your own pull-to-refresh control.
6464
65+ ## Usage in UITableView with sections
66+
67+ Unfortunaly, * UITableView* with sections doesn’t not supported. But you can resolve this problem by two steps:
68+ 1 ) Create you own * PullToRefresh* (see below how you can did it)
69+ 2 ) Set it ``` shouldBeVisibleWhileScrolling ``` property ``` true ``` . It makes you * PullToRefresh* always visible while you scroll table.
70+
71+ ⚠️ By default, * PullToRefresh* has transparent background. Don’t use it in this case ⚠️
72+
6573## Creating custom PullToRefresh
6674
6775To create a custom refresher you would need to initialize * PullToRefresh* class with two objects:
You can’t perform that action at this time.
0 commit comments