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
{{ message }}
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
Describe the bug
I'm unable to enable pullToRefresh for tableviews. Even the Instafeed demo that uses pull to refresh doesn't actually pull to refresh. See the following code from the demo:
ASTableView(sections: sections)
.tableViewSeparatorsEnabled(false)
.tableViewOnPullToRefresh { endRefreshing in
print("PULL TO REFRESH")
Timer.scheduledTimer(withTimeInterval: 2, repeats: false) { _ in
endRefreshing()
}
}
....
Looking into ASTableView, it seems like func configureRefreshControl(for tv: UITableView) isn't being called anywhere?
To Reproduce
Launch demo, go to instafeed, try pull to refresh
Expected behaviour
tableViewOnPullToRefresh enables pull to refresh
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
I'm unable to enable pullToRefresh for tableviews. Even the Instafeed demo that uses pull to refresh doesn't actually pull to refresh. See the following code from the demo:
Looking into ASTableView, it seems like
func configureRefreshControl(for tv: UITableView)isn't being called anywhere?To Reproduce
Launch demo, go to instafeed, try pull to refresh
Expected behaviour
tableViewOnPullToRefresh enables pull to refresh
Screenshots
If applicable, add screenshots to help explain your problem.
Xcode Version:
Simulator, Device, Both?