Re: NSOperationQueue
Re: NSOperationQueue
- Subject: Re: NSOperationQueue
- From: Kyle Sluder <email@hidden>
- Date: Fri, 01 Jun 2012 20:12:14 -0700
On Jun 1, 2012, at 8:07 PM, Graham Cox <email@hidden> wrote:
> A question about NSOperationQueue:
>
> Is there a way to add operations to the queue so that they "jump the queue" ahead of any operations that are not running and have not been run yet?
Give them a higher priority. You should be able to alter the priorities as the user scrolls, and NSOperationQueue will do the right thing.
--Kyle Sluder
_______________________________________________
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