Re: CGPoint wrapper?
Re: CGPoint wrapper?
- Subject: Re: CGPoint wrapper?
- From: "Kyle Sluder" <email@hidden>
- Date: Thu, 23 Oct 2008 15:45:52 -0400
On Thu, Oct 23, 2008 at 3:12 PM, Sherm Pendley <email@hidden> wrote:
> That's faster (and simpler) to *write*, but it performs no better than
> enumerating a C array. It is, in fact, implemented by sending
> -countByEnumeratingWithState:objects:count: to the array, then enumerating
> over the C array that's returned by reference from that method.
The pattern itself is called "Fast Enumeration", because it's faster
than using a simple NSEnumerator.
--Kyle Sluder
_______________________________________________
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