I have a pretty simple iPhone app that loads a UITableView result set into its model class and view controller, which is configured to watch these changes using QUO .
This system works well (much better than scattering the update code everywhere), except that when I get the results, I add them to the NSMutableArray support one by one. This causes a lot of KVO notifications, stunning my line animations in such a way that it looks weird. Is there a way to combine some KVO notifications so that changes can happen immediately and thus provide one KVO notification with one set of indices?
Alternatively, if I try calling -addObjectsFromArray to add my new results in batch mode, the necessary KVO notifications are never sent, so this should not be one of the observed methods, right? Would it be better to take care of this functionality by wrapping my changes with calls to will / didChangeValueForKey and creating an appropriate set of indexes?
source share