Re: NSAppKitVersionNumber for 10.3.0?
Re: NSAppKitVersionNumber for 10.3.0?
- Subject: Re: NSAppKitVersionNumber for 10.3.0?
- From: Patrick Machielse <email@hidden>
- Date: Tue, 21 Sep 2004 23:03:40 +0200
op 21-09-2004 21:03 schreef Finlay Dobbie
> On 21 Sep 2004, at 18:13, Chuck Soper wrote:
>
>> Will simply checking NSAppKitVersionNumber from awakeFromNib in my
>> NSApp delegate be sufficient? Can I launch a 10.3 or 10.2 app on
>> 10.1.x, get to init or awakeFromNib to check NSAppKitVersionNumber
>> (before any incompatible APIs are called), and if necessary, call
>> NSRunCriticalAlertPanel then exit gracefully?
>
> No. 10.1.x did not support weak linking, so the app will fail to launch
> (dyld will complain about unresolved symbols)
On top of this, not all framworks / libraries support weak linking. I
menioned WebKit in another reply. Apple says:
"Some OS X frameworks, most notably those derived from Open Source projects
such as OpenGL and the BSD and Kernel frameworks, do not use Apple's
availability macros to support cross-development."
Look in your documentation under 'Cross Development' for some information on
this topic.
Detailed information on Weak Linking (and how to work around limitations) is
in Technote 2064.
Enjoy..?
Patrick
---
Hieper Software
w: www.hieper.nl
e: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden