update UICollectionView's header content without reloading whole section

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

Answers


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


Need Your Help

get sql.exception error when using session in liferay portlet

jsp liferay

I have some problem using session. In view.jsp I get username and password and pass them to portlet class. Then I fetch user info from database and save them in session and go to patientInfo.jsp us...

How to create QUnit tests with reference to another class?

javascript visual-studio unit-testing qunit

I'm trying to add unit testing for JavaScript into my web site. I use VS2013 and my project is an ASP.NET web site.