Skip to content

Commit a0aba4c

Browse files
author
Sergey D
authored
Merge pull request #82 from Yalantis/feature/updated_readme
Update README.md
2 parents 462c6a9 + afb9ec0 commit a0aba4c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ tableView.startRefreshing()
6262
But you probably won’t use this component, though. *UITableViewController* and *UICollectionViewController* already have a simple type of refresher.
6363
It’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

6775
To create a custom refresher you would need to initialize *PullToRefresh* class with two objects:

0 commit comments

Comments
 (0)