Re: NSOperationQueue
Re: NSOperationQueue
- Subject: Re: NSOperationQueue
- From: Graham Cox <email@hidden>
- Date: Sun, 03 Jun 2012 16:23:50 +1000
On 03/06/2012, at 4:13 PM, Charles Srstka wrote:
> On Jun 2, 2012, at 8:16 PM, Graham Cox wrote:
>
>> The problem is not that setting the priority of an operation doesn't work, it's that manipulating the priority based on what is visible at a given moment is hard.
>
> How is it hard? You just call setQueuePriority: on the operations for the visible objects!
define "the visible objects" when what you have at hand is not a visual object at all, but an object whose job is to make an image from some data.
Clearly those who think this is trivial or easy have not actually tried doing this, and are not understanding what the problem is here. Of course it's easy to call -setQueuePriority:, that isn't the problem. The problem is how to decide what it should be set to, when.
--Graham
_______________________________________________
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