Re: NSOperationQueue
Re: NSOperationQueue
- Subject: Re: NSOperationQueue
- From: Charles Srstka <email@hidden>
- Date: Sun, 03 Jun 2012 02:29:49 -0500
On Jun 3, 2012, at 1:23 AM, Graham Cox wrote:
> 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.
I’ll go with whatever you meant when you said:
On Jun 2, 2012, at 12:34 AM, Graham Cox wrote:
> When the image arrives, I am able to check if it's still visible and refresh the given cell of the view
Since you’ve evidently already figured out a way to determine what images are visible in the view, just set up an NSMapTable or an NSDictionary mapping image URLs to operations, and then you know which operations correspond to the visible images. Prioritize those.
Although, given what you’ve said thus far, I’m beginning to think that Kyle may be right and that IKImageBrowserView might not be the best tool for what you’re trying to do.
Charles
_______________________________________________
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