It's been a private API until 10.9 and iOS 7. Clearly a documentation error.

On 22 Dec 2013, at 18:31, Trygve Inda <cocoa...@xericdesign.com> wrote:

> https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Founda
> tion/Classes/NSArray_Class/NSArray.html#//apple_ref/doc/uid/20000137-SW40
> 
> firstObject
> Returns the first object in the array.
> 
> - (id)firstObject
> Return Value
> The first object in the array. If the array is empty, returns nil.
> 
> Availability
> Available in OS X v10.6 and later.
> See Also
> – lastObject
> Declared In
> NSArray.h
> 
> 
> 
> This seems to be an error in the docs as the method does not seem to exist
> for me.
> 
> Comments?
> 
> 
> 
> 
> _______________________________________________
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/michael.starke%40hicknhack-software.com
> 
> This email sent to michael.sta...@hicknhack-software.com


___m i c h a e l   s t a r k e____ 
       geschäftsführer
       HicknHack Software GmbH
       www.hicknhack-software.com
       
___k o n t a k t____
       +49 (170) 3686136
       cont...@hicknhack.com
       
___H i c k n H a c k   S o f t w a r e   G m b H____
       geschäftsführer - maik lathan | andreas reischuck | michael starke
       bayreuther straße 32
       01187 dresden
       amtsgericht dresden HRB 30351
       sitz - dresden


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to