On Oct 11, 2013, at 12:37 PM, Rick Mann <rm...@latencyzero.com> wrote:

In ManagedObjectContext there is method – initWithConcurrencyType:. Perhaps you 
can use it.

/Mikael

> I want to change my NSPersistentDocument subclass to use a different 
> concurrency type. But I can't find a way to override -managedObjectContext 
> that works.
> 
> The only discussions online I could find are from 5 years ago.
> 
> It does seem to work if I set the MOC in one of the -initXXX methods, but 
> that seems brittle.
> 
> -- 
> Rick
> 
> 
> 
> _______________________________________________
> 
> 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/mhakman%40dkab.net
> 
> This email sent to mhak...@dkab.net


_______________________________________________

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

Reply via email to