Re: NSMutableDictionary setObject:forKey:
Re: NSMutableDictionary setObject:forKey:
- Subject: Re: NSMutableDictionary setObject:forKey:
- From: Andy Lee <email@hidden>
- Date: Sat, 11 Jun 2005 21:10:13 -0400
On Jun 11, 2005, at 8:37 PM, mmalcolm crawford wrote:
On Jun 11, 2005, at 5:19 PM, Andy Lee wrote:
Perhaps a few words about the basics would help.
[...]
Umm, I think all this is in the documentation -- see, for example,
<http://developer.apple.com/documentation/Cocoa/Conceptual/
Collections/Concepts/Dictionaries.html>
Yes, and also in the class docs for NSDictionary and
NSMutableDictionary. The OP had apparently looked at the docs (he
quoted from them) and was still missing something, so I thought maybe
it would help to spell things out in a slightly different way.
For example, I couldn't imagine what "it didn't work" meant in
reference to -objectForKey: until I read your previous post. That's
why I emphasized that dictionaries contain *pairs*, and only contain
as many key-value pairs as you put into them. In case that had
eluded Theodore for some reason.
--Andy
_______________________________________________
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