Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
- Subject: Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 06 Sep 2011 14:41:41 -0700
On Tue, Sep 6, 2011 at 2:34 PM, email@hidden
<email@hidden> wrote:
> On 6 Sep 2011, at 22:11, Kyle Sluder wrote:
>> Framework versions haven't been used since the OpenStep days.
> Really?
> It is still documented:
Lots of things are still documented that aren't used anymore. :) There
may have been a time since Mac OS X 10.0 that framework versions were
used, but I can't think of any examples. They are certainly not used
today.
>> The system frameworks often check the SDK version the application
>> they're running within was linked against.
>>
> Can otool extract the SDK version?
Don't think so, but I might be wrong.
I'm pretty sure the function that gets used for this is
CFGetExecutableLinkedLibraryVersion, implemented here:
http://www.opensource.apple.com/source/CF/CF-550/CFUtilities.c
--Kyle Sluder
_______________________________________________
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