Re: NSPersistentContainer with alternate stores
Re: NSPersistentContainer with alternate stores
- Subject: Re: NSPersistentContainer with alternate stores
- From: Aaron Tuller <email@hidden>
- Date: Fri, 16 Dec 2016 16:41:34 -0800
check out:
https://developer.apple.com/reference/coredata/nspersistentcontainer/1640577-persistentstoredescriptions?language=objc
you can set the store type there:
https://developer.apple.com/reference/coredata/nspersistentstoredescription/1640609-type?language=objc
-aaron
> On Dec 11, 2016, at 3:10 PM, Daryle Walker <email@hidden> wrote:
>
> Just binged on WWDC 2016, and saw a new NSPersistentContainer that merges the main types. It's initialized with a model, sets up its own coordinator, and vends contexts as needed.
>
> How are the actual stores used by the coordinator set up? I want to use an in-memory store instead of some automatically defined one (most likely SQL).
>
> Sent from my iPhone
> _______________________________________________
>
> 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
_______________________________________________
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