update UICollectionView's header content without reloading whole section

ios, objective-c, uicollectionreusableview, uicollectionview

Solution

You can call `setNeedsDisplay` on the UIView (your header view) rather than `reloadData` or `reloadSections:` on the UIColectionView.

Problem

i want to dynamically update the content of the header information in my UIColectionView but i do not want to reload the whole section because this i done very frequently. Any ideas for an elegant solution? Thanks

Original source