Re: Fast enumeration
Re: Fast enumeration
- Subject: Re: Fast enumeration
- From: Jonathon Kuo <email@hidden>
- Date: Thu, 22 Jul 2010 16:28:37 -0700
On Jul 22, 2010, at 1:10 PM, Quincey Morris wrote:
> id _id;
>
> for (_id in array) {
> }
>
> if (_id)
> {
> }
If I use this to go backward through the array:
for (_id in [array reverseObjectEnumerator]) {
}
...is it still considered 'fast' enumeration?
-Jon
_______________________________________________
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