• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Priority MOC operations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSDocument subclass can only be opened once
  • Next by Date: Re: NSDocument subclass can only be opened once
  • Previous by thread: Re: NSDocument subclass can only be opened once
  • Next by thread: Window live resize: which edge is being dragged?
  • Index(es):
    • Date
    • Thread