• 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: NSAppKitVersionNumber for 10.3.0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Newbie question: autorelease sends autorelease
  • Next by Date: Re: Images in custom IB palette
  • Previous by thread: Re: NSAppKitVersionNumber for 10.3.0?
  • Next by thread: mutating custom-class, becomes NSArray
  • Index(es):
    • Date
    • Thread