On Jun 10, 2013, at 6:28 AM, Roland King <r...@rols.org> wrote:

> How about the objects which are then owned by the MOC, the managed objects? 
> Do any messages sent to them, even a property or relationship lookup, need 
> also to be in a performBlock: call on the MOC owning those objects?

For an NSManagedObjectContext using private queue concurrency, yes. The 
cardinal rule of Core Data is that virtually any interaction with a managed 
object other than memory management is also an interaction with its context.

This is actually particularly true for property (attribute and relationship) 
access, because that can fire or traverse faults.

  -- Chris


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to