Thanks again Kyle.
Great that -mergeChangesFromContextDidSaveNotification: does the Right
Thing vis-a-vis working across threads. Would be a little awkward to
keep it happy otherwise. Kudos to the Core Data folks (especially
since the more I learn about Core Data the more I realise just what a
complex beast it is!).
On 2009-09-21, at 1:21 PM, Kyle Sluder wrote:
On Mon, Sep 21, 2009 at 11:43 AM, Luke Evans <l...@eversosoft.com>
wrote:
As the NSManagedObjectContextDidSaveNotification will be posted on
the main
thread, is it safe to do a -
mergeChangesFromContextDidSaveNotification: on
the main thread for any given MOC?
This led to confusion a few months ago. I filed a documentation bug
about it, which is still open (rdar://problem/6933634).
Ben Trumbull answered in
http://www.cocoabuilder.com/archive/message/cocoa/2009/5/29/237809.
Short answer: the objects are thread-safe.
--Kyle Sluder
_______________________________________________
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