• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implementing fast enumeration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Implementing fast enumeration
      • From: Ben <email@hidden>
References: 
 >Implementing fast enumeration (From: Ben <email@hidden>)

  • Prev by Date: Re: ANN: CDBStore, a lightweight persistent dictionary
  • Next by Date: Custom View initialization: where?
  • Previous by thread: Re: Implementing fast enumeration
  • Next by thread: Re: Implementing fast enumeration
  • Index(es):
    • Date
    • Thread