On 17 Oct 2011, at 22:22, Richard Somers wrote:

> SOLVED
> 
> On Oct 13, 2011, at 4:55 PM, Mike Abdullah wrote:
> 
>> I'm pretty sure the array controller is observing 
>> NSManagedObjectContextObjectsDidChangeNotification to arrange its objects. 
>> Normally, this doesn't fire until the end of the runloop. But you can force 
>> it to by calling -[NSManagedObjectContext processPendingChanges]
> 
> Calling processPendingChanges was the key to solving the controller update 
> delay issue. Thanks. Just curious how you came by this knowledge?

If it's not monitoring a relationship, the only public API for keeping an eye 
on changes is to observe that notification. The notification is documented not 
to fire immediately after a change, but to bunch up changes for efficiency.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to