> 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 > <sli...@araelium.com> wrote: > On Dec 22, 2013, at 9:31 AM, Trygve Inda > <cocoa...@xericdesign.com> 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 > > > > So just declare it in a category and leave it out of the implementation? That of course gives me a warning that my implementation is incomplete. -(id)firstObject; _______________________________________________ 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