• 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: Using NSImages as keys to a dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Using NSImages as keys to a dictionary (From: "Lawrence Sanbourne" <email@hidden>)
 >Re: Using NSImages as keys to a dictionary (From: "Pontus Ilbring" <email@hidden>)

  • Prev by Date: Re: MediaCenter/FrontRow
  • Next by Date: Rotating Image Button
  • Previous by thread: Re: Using NSImages as keys to a dictionary
  • Next by thread: Rotating Image Button
  • Index(es):
    • Date
    • Thread