Be careful with tablveiw’s headView (IOS)

Why do I say that? Because the headView and cell, the need for frequent updates. If every headView control you have attributes, that would be a bit of trouble. Then used directly to a new headView, the data is updated to replace the headView. will always replace the code is not clean, the performance will be a little effects of
. So, directly to a cell to headView, and then a model like cell to fix. You can also update the data at any time can fancy updates.