Re: Trouble creating dictionary
Re: Trouble creating dictionary
- Subject: Re: Trouble creating dictionary
- From: Graham Cox <email@hidden>
- Date: Wed, 28 Sep 2011 11:28:37 +1000
On 28/09/2011, at 11:21 AM, Dale Satterfield wrote:
> tzDict = [NSDictionary dictionaryWithObjects:tzKeys forKeys:tzValues];
You've transposed the values and the keys here, and since the values are not unique, you end up with only 30 unique "keys" (which are really the values).
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden