Re: Mixing Object Types in a NSDictionary
Re: Mixing Object Types in a NSDictionary
- Subject: Re: Mixing Object Types in a NSDictionary
- From: Rosyna <email@hidden>
- Date: Tue, 11 Jul 2006 16:48:44 -0700
That's how it was designed. Most NSDictionaries will mix the types of values.
Ack, at 7/11/06, Kam Dahlin said:
I have a model class that I thought would be easier built and more
future proof by having my instance members stored inside of a single
NSDictionary, instead of having a big list of instance members in my
model class. I have types of NSImage, NSNumber and NSString and was
wondering if it is a bad practice to mix these object types in a
NSDictionary?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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