• 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: Implementing Full Screen for 10.7 but app should also run on 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing Full Screen for 10.7 but app should also run on 10.6


  • Subject: Re: Implementing Full Screen for 10.7 but app should also run on 10.6
  • From: Gideon King <email@hidden>
  • Date: Tue, 15 Nov 2011 07:39:16 +1000

They have not bumped the appkit version number in 10.6 (see NSApplication.h), and in previous releases, the number was just bumped by a decimal, so the floor() call handles that. As far as I am aware, this comparison should be correct.

e.g.
#define NSAppKitVersionNumber10_5 949
#define NSAppKitVersionNumber10_5_2 949.27
#define NSAppKitVersionNumber10_5_3 949.33
#define NSAppKitVersionNumber10_6 1038


Regards

Gideon


On 15/11/2011, at 3:16 AM, Kyle Sluder wrote:

> On Nov 14, 2011, at 7:30 AM, Gideon King <email@hidden> wrote:
>
>>   if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6) {
>>
>
> This comparison is incorrect. The AppKit version number almost always gets bumped on an OS point release. This comparison will succeed on 10.6.1 and higher.
>
> Does Apple not ship symbols for the current AppKit version in the SDK—in other words, is there an NSAppKitVersionNumber10_7 in the 10.7 SDK?
>
> --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

  • Follow-Ups:
    • Re: Implementing Full Screen for 10.7 but app should also run on 10.6
      • From: Kyle Sluder <email@hidden>
References: 
 >Implementing Full Screen for 10.7 but app should also run on 10.6 (From: Koen van der Drift <email@hidden>)
 >Re: Implementing Full Screen for 10.7 but app should also run on 10.6 (From: Gideon King <email@hidden>)
 >Re: Implementing Full Screen for 10.7 but app should also run on 10.6 (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Calling a Cocoa library from C
  • Next by Date: Re: Cannot D&D from an NSTableView
  • Previous by thread: Re: Implementing Full Screen for 10.7 but app should also run on 10.6
  • Next by thread: Re: Implementing Full Screen for 10.7 but app should also run on 10.6
  • Index(es):
    • Date
    • Thread