• 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
ARC and NSFastEnumeration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ARC and NSFastEnumeration


  • Subject: ARC and NSFastEnumeration
  • From: Devraj Mukherjee <email@hidden>
  • Date: Mon, 19 Sep 2011 20:33:51 +1000

Hi all,

I am trying to implement fast enumeration for a wrapper object that
has an NSArray, following this tutorial
http://cocoawithlove.com/2008/05/implementing-countbyenumeratingwithstat.html

Obviously ARC doesn't like the way

- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState
*)state objects:(id *)stackbuf count:(NSUInteger)len

is implemented.

Does anyone have any examples of ARC and NSFastEnumeration they can refer me to?

Thanks.
_______________________________________________

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: ARC and NSFastEnumeration
      • From: Greg Parker <email@hidden>
    • Re: ARC and NSFastEnumeration
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: How to do Save As... in Lion
  • Next by Date: Re: ARC and NSFastEnumeration
  • Previous by thread: Canceling text-completion
  • Next by thread: Re: ARC and NSFastEnumeration
  • Index(es):
    • Date
    • Thread