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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -