Re: CoreData headaches
Re: CoreData headaches
- Subject: Re: CoreData headaches
- From: Chris Hanson <email@hidden>
- Date: Sun, 30 Oct 2016 12:11:01 -0700
On Oct 27, 2016, at 9:02 PM, Steve Mills <email@hidden> wrote:
>
> Yes, the Asset is an NSManagedObject. In this call chain, there is no NSManagedObjectContext in sight.
There is always an NSManagedObjectContext involved; an NSManagedObject doesn’t exist outside one. Fortunately, you don’t need to pass one along with an NSManagedObject, you can just ask the NSManagedObject for the context it’s a part of.
-- Chris
_______________________________________________
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