• 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: Maxthon Chan <email@hidden>
  • Date: Mon, 23 Dec 2013 01:53:17 +0800

Yes. This method is there since 10.6 so you can safely call it. using latest header or category on it.

On Dec 23, 2013, at 1:49, Seth Willits <email@hidden> wrote:

> 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


_______________________________________________

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