Re: Implementing fast enumeration
Re: Implementing fast enumeration
- Subject: Re: Implementing fast enumeration
- From: "Adam R. Maxwell" <email@hidden>
- Date: Fri, 2 May 2008 18:43:50 -0700
On May 2, 2008, at 12:18 PM, Ben wrote:
Re-sending as this did not seem to get make it to the list.
I have been reading the documentation for implementing the
NSFastEnumeration protocol and am having some difficulties following
it.
[...]
Apologies if these are basic questions, but I got decidedly lost
trying to follow the docs.
I also got lost in the docs (I should file a bug one of these days).
Anyway, take a look at CFArray.c from Apple's CF source, specifically
the _CFArrayFastEnumeration function. Having that for an example
really helped.
hth,
Adam
_______________________________________________
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