• 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: Getting NSApplicationDelegate protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting NSApplicationDelegate protocol


  • Subject: Re: Getting NSApplicationDelegate protocol
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 06 Jul 2012 15:59:31 -0700

On Fri, Jul 6, 2012, at 10:00 PM, ecir hana wrote:
> On Fri, Jul 6, 2012 at 8:01 PM, Stephen J. Butler
> <email@hidden>wrote:
>
> >
> > You're positive you're linking against the 10.6 SDK? Even if you're on
> > 10.6 you might be linking against the 10.5 SDK and that would explain
> > your problem perfectly.
> >
> >
> NSAppKitVersionNumber says "1038.36" which is 10.6.

That tells you what version of AppKit you're _running on_, not what
version you've _linked against._ The whole purpose of that variable
(note it's a global variable, not a compile-time constant!) is so that
code linked against earlier frameworks can see if it's running on a
version of the OS older or newer than the SDK it was linked against.

The frameworks can detect when you've linked against a different version
of AppKit than you're running on, and will often change their behavior
accordingly.

--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

References: 
 >Getting NSApplicationDelegate protocol (From: ecir hana <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: "Stephen J. Butler" <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: ecir hana <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: "Stephen J. Butler" <email@hidden>)
 >Re: Getting NSApplicationDelegate protocol (From: ecir hana <email@hidden>)

  • Prev by Date: Re: Modal event processing
  • Next by Date: Re: Modal event processing
  • Previous by thread: Re: Getting NSApplicationDelegate protocol
  • Next by thread: Re: Getting NSApplicationDelegate protocol
  • Index(es):
    • Date
    • Thread