• 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: Check for Mac OS Version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check for Mac OS Version


  • Subject: Re: Check for Mac OS Version
  • From: Julian Cain <email@hidden>
  • Date: Thu, 31 Mar 2005 01:30:35 -0500

Use this macro:

#define PANTHER (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_2_3)

then...

if(!PANTHER)NSLog(@"User is running OS X less than panther");

-Julian
On Mar 30, 2005, at 2:36 PM, Adam wrote:

How can I check to see what version of Mac OS the user is running? Specifically I want to know if they are using anything less then 10.3.


Adam

_______________________________________________
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


_______________________________________________ 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
References: 
 >Check for Mac OS Version (From: Adam <email@hidden>)

  • Prev by Date: handle kill of foundation tool
  • Next by Date: Adding custom NSView to cell in NSTableView
  • Previous by thread: Re: Check for Mac OS Version
  • Next by thread: Re:Check for Mac OS Version
  • Index(es):
    • Date
    • Thread