Re: Using NSImages as keys to a dictionary
Re: Using NSImages as keys to a dictionary
- Subject: Re: Using NSImages as keys to a dictionary
- From: "Lawrence Sanbourne" <email@hidden>
- Date: Sat, 13 May 2006 10:51:45 -0500
Lots of great ideas. Thanks so much! I ended up making a icon cache
object that holds the icon dictionary (using [NSValue
valueWithPointer:originalIcon] -- thanks!). It also adds all the
originalIcon objects to an NSMutableArray so that they get retained.
(I didn't feel like manually retaining/releasing as the objects are
added or removed from the dictionary.)
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden