ios - UICollectionView with Search Header and Pull To Refresh -
the idea have search view uicollectionview , still able use pull refresh uirefreshcontrol. search , uirefreshcontrol not visible until user scroll down uicollectionview.
------------------ | pull refresh | ------------------ | search | ------------------ <--- above of line content hidden | | b | ------------------ | c | d | ------------------ | footer | ------------------ i have tried implement searchview section header of uicollectionview, in way can not use reloaddata while cell of collection view first responder.
a solution should make possible to:
- update collectionview datasource while user type search box
- don't mess animation of uirefreshcontrol
use scrollview instead of dealing collectionview. pull refresh functionality can use open source https://github.com/kenzan8000/pullrefreshview.
Comments
Post a Comment