0

Right now my code is to refresh all the data in collectionview by collectionView?.reloadData() but how can i only refresh the data in supplementary view or header view not all the data?

Thanks

Alvin123
  • 53
  • 1
  • 7
  • `reloadData()` only reloads visible cells or views, so it's really fast. Why do you want to reload just the header? – EmilioPelaez Mar 13 '18 at 20:39
  • Because reloadData() reload all the pic cell and make it slower and i only want to reload the text in the header view – Alvin123 Mar 13 '18 at 20:45
  • Possible duplicate of [UICollectionView update a single cell](https://stackoverflow.com/questions/20296929/uicollectionview-update-a-single-cell) – Allison Mar 14 '18 at 04:05

0 Answers0