'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?
Try declaring it like this
If it has an NSArray, you don't have to follow that tutorial - NSArray already
implements NSFastEnumeration, so your wrapper can simply call the same methods
on NSArray. Job done.
The tutorial is somewhat artificial in that it creates an object using a C
array (and secondly a linked list) as it
State
*)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 (Cocoa-dev@lists.apple.com)
Please do not post admin reques