Re: setValue vs setObject (NSMutableDictionary)
Re: setValue vs setObject (NSMutableDictionary)
- Subject: Re: setValue vs setObject (NSMutableDictionary)
- From: Mark Dawson <email@hidden>
- Date: Sun, 17 Apr 2005 17:36:47 -0700
Why would you expect that to work? -setValue:forKey: is clearly
documented as taking an id for value.
The difference is that setValue is KVC compliant, whereas setObject
was not.
Sorry about that. I could have sworn that I saw something that
referenced it could be a scalar (which is why I asked the question),
but all I see now is the (id) reference. SIgh.
Thanks,
mark
_______________________________________________
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