Re: NSArrayController Update Delay
Re: NSArrayController Update Delay
- Subject: Re: NSArrayController Update Delay
- From: Richard Somers <email@hidden>
- Date: Mon, 17 Oct 2011 15:22:53 -0600
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?
--Richard
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden