Re: NSArray firstObject?
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