Re: Document style programming
Re: Document style programming
- Subject: Re: Document style programming
- From: Mike Abdullah <email@hidden>
- Date: Sat, 18 Oct 2014 17:11:18 +0100
> On 18 Oct 2014, at 17:09, Luther Baker <email@hidden> wrote:
>
> Thanks Mike.
>
> Let me ask another question ... what if I need to create a temporary, thread specific NSManagedObjectContext? Let's say I'm interacting with a RESTful API ala AFNetworking and I need to parse and save data on a background response thread.
>
> How do I tie my thread specific context into the Document's datastore?
These days, I daresay Apple would like you to split off a temporary child context that saves directly into its parent context (rather than the old way of two contexts sharing a persistent store coordinator).
_______________________________________________
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