Re: different width in fastenumeration
Re: different width in fastenumeration
- Subject: Re: different width in fastenumeration
- From: David Duncan <email@hidden>
- Date: Thu, 26 Nov 2009 10:13:43 -0800
On Nov 24, 2009, at 3:47 AM, Hans van der Meer wrote:
> Doing NSDictionary *objects enumerate over its keys thus:
> for ( id key in [objects allKeys] ) {}
Keep in mind that regardless of what other errors you are getting, you don't actually need to do this. Iterating over a dictionary by definition gives you the keys, so you could just use "for(id key in objects) {}"
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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