> CoreData [is] just a pile of confusion with no human explanation[.] I know this doesn't help anyone but I couldn't help but agreeing with this statement.
On 31 October 2016 at 16:22, Steve Mills <sjmi...@mac.com> wrote: > On Oct 30, 2016, at 14:11:01, Chris Hanson <c...@me.com> wrote: >> >> On Oct 27, 2016, at 9:02 PM, Steve Mills <sjmi...@mac.com> 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. > > That was my misunderstanding because of the confusion of the docs, or maybe > the lack of generous explanation in the docs. The explanation they give > sounds like they mean the context created specifically to do an operation, > like the way that a temporary private context is created, say, to do a bulk > add, then is merged with the parent main context when complete. That's why I > said there wasn't a context in that call chain, meaning I didn't create a > private context to do this work. > > It's a bit more clear now, thanks to all of you that have chimed in here. > > -- > Steve Mills > Drummer, Mac geek > > > _______________________________________________ > > 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/space.ship.traveller%40gmail.com > > This email sent to space.ship.travel...@gmail.com _______________________________________________ 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