Re: Representing an object graph
Re: Representing an object graph
- Subject: Re: Representing an object graph
- From: Daryle Walker <email@hidden>
- Date: Thu, 15 Dec 2016 22:20:34 -0500
> On Dec 5, 2016, at 8:17 PM, Jens Alfke <email@hidden> wrote:
>
>
>> On Dec 5, 2016, at 4:18 PM, Daryle Walker <email@hidden> wrote:
>>
>> I've heard that Core Data is a object graph and persistence library. What if you want just the first part?
>
> You can use the XML-based store instead of SQLite, and just not bother to write the XML anywhere…
But if I maintain multiple contexts, like the main-thread and secondary-thread contexts vended by NSPersistentContainer, wouldn’t I need a store so the contexts can find each others’ updates?
(And like the other guy said, I’d probably use an in-memory store.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
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