Re: Priority MOC operations?
Re: Priority MOC operations?
- Subject: Re: Priority MOC operations?
- From: Mike Abdullah <email@hidden>
- Date: Thu, 23 Jan 2014 09:34:49 +0000
On 22 Jan 2014, at 23:08, Rick Mann <email@hidden> wrote:
> There's no way to get prioritized -performBlock: calls on an NSManagedObjectContext, is there? I have some operations enqueued with -performBlock: that must be serialized, and others that would be best carried out as soon as the current block finishes, but before any other enqueued blocks.
As far as I’m aware, the only way to achieve this is to route all your blocks via something like an NSOperationQueue so some can be prioritised over others.
_______________________________________________
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