I have a UITableView with a custom header that supports some state. When I call reloadData to modify / update data in a UITableView, the header also reloads. Is there a way to prevent this behavior in order to keep state in the table header?
Do not put these states in the header. You mix the “view” with the “model” in the MVC design.
Anyway, you can reload certain lines with -reloadRowsAtIndexPaths:withRowAnimation:.
-reloadRowsAtIndexPaths:withRowAnimation:
Source: https://habr.com/ru/post/1744825/More articles:How did you implement SCRUM to work alone? - project-managementLINQ Data Normalization - c #How does a script know its name in bash? - bashhighlight PHP navigation - highlightingЕсть ли какой-нибудь звуковой SDK, который работает с .NET? - c#Insert data into SQL server with better performance - c #C ++: replacing elements of a template class of different types? - c ++Use .js files to cache large dropdowns - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1744829/listing-like-appstore-in-firefox-or-any-other-browser-for-windowsdesktop-linux&usg=ALkJrhgw2p-jP-RA3R7Yml8yhF32iKPyTQprint web page in two columns - javascriptAll Articles