Re: Ints in NSDictionaries
Re: Ints in NSDictionaries
- Subject: Re: Ints in NSDictionaries
- From: Don Murta <email@hidden>
- Date: Tue, 21 May 2002 15:43:57 -0600
dictionaries store objects not primitive types (unless wrapped), try
using a NSNumber instead of an int.
don
On Tuesday, May 21, 2002, at 03:19 PM, email@hidden wrote:
I need to store an integer in an NSDictionary, but when I try to set a
the object for a key to an int (even if I use an id cast), I refuses to
compile. Is there anyway to do this?
_______________________________________________
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.