On Aug 6, 2008, at 7:37 PM, Jason Bobier wrote:

Hey folks, does anyone know the recommended way of checking whether my app is running on Tiger or Leopard? It used to be that you could just check that appkit version against one of the #defines, but apple appears to have stopped updating them. At least 10.3.5 is the latest that I see.

It goes up to 10.4, but you have to be using the 10.5 SDK.

#define NSAppKitVersionNumber10_4 824

In general, each SDK seems to have the NSAppKit versions for each OS version up to but not including the OS version that goes with the SDK.

Charles
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to