• 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: CFMutableDictionary vs. NSMapTable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFMutableDictionary vs. NSMapTable


  • Subject: Re: CFMutableDictionary vs. NSMapTable
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 9 Sep 2002 20:31:06 -0700

On Mon, 9 Sep 2002 09:25:42 -0400, Bill Bumgarner <email@hidden> said:

>I need to create a set of maps between integer keys and either objects
>or integer values, depending on context (though any one given
>dictionary/map will only have values of a single type, obviously).
>
>I have long used NSMapTable's API in this context

Would it be so evil just to use NSDictionary and use an NSNumber in all the
places where the integers need to go? m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Learning lex/yacc (was: Book- Building cocoa applications)
  • Next by Date: Re: Tabbing into NSTableView finally solved!!
  • Previous by thread: Re: CFMutableDictionary vs. NSMapTable
  • Next by thread: [newbie] Font attributes in NSTextView
  • Index(es):
    • Date
    • Thread