• 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
NSArray firstObject?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArray firstObject?


  • Subject: NSArray firstObject?
  • From: Trygve Inda <email@hidden>
  • Date: Sun, 22 Dec 2013 09:31:32 -0800
  • Thread-topic: NSArray firstObject?

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 (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: NSArray firstObject?
      • From: Fritz Anderson <email@hidden>
    • Re: NSArray firstObject?
      • From: Seth Willits <email@hidden>
    • Re: NSArray firstObject?
      • From: Michael Starke <email@hidden>
  • Prev by Date: Re: CALayer's delegate prevents implicit animation?
  • Next by Date: Re: NSArray firstObject?
  • Previous by thread: Re: Sandboxing: Can't bookmark enclosing folder of user-selected file
  • Next by thread: Re: NSArray firstObject?
  • Index(es):
    • Date
    • Thread