On Thu, Oct 23, 2008 at 3:12 PM, Sherm Pendley <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]