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

Re: NSArray firstObject?


  • Subject: Re: NSArray firstObject?
  • From: Seth Willits <email@hidden>
  • Date: Sun, 22 Dec 2013 09:49:30 -0800

On Dec 22, 2013, at 9:31 AM, Trygve Inda <email@hidden> wrote:

> Available in OS X v10.6 and later.
>
> This seems to be an error in the docs as the method does not seem to exist
> for me.

What do you mean?

As I recall, when it was announced at WWDC the method become public only recently, but they explicitly said it was actually implemented since 10.6. So you can safely use it as the docs mention. If you're not using the latest SDK(s) with the API change in it, then you'll simply need to declare the method yourself in a category and it'll work fine.



--
Seth Willits



_______________________________________________

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: Maxthon Chan <email@hidden>
References: 
 >NSArray firstObject? (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: NSArray firstObject?
  • Next by Date: Re: NSArray firstObject?
  • Previous by thread: Re: NSArray firstObject?
  • Next by thread: Re: NSArray firstObject?
  • Index(es):
    • Date
    • Thread