• 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: How to ensure minimum version requirement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to ensure minimum version requirement


  • Subject: Re: How to ensure minimum version requirement
  • From: Citizen <email@hidden>
  • Date: Thu, 8 Nov 2007 10:18:33 +0000

On 8 Nov 2007, at 09:09, Andre Schnoor wrote:

although I digged the docs and googled a while, I could not seem to find any proposed way for determining the MacOS X version number (at runtime) from inside a Cocoa application. Maybe I missed something, but IMHO this is a very basic information that should be easily available somewhere.

http://developer.apple.com/releasenotes/Cocoa/AppKit.html

Scroll down to the section titled "Runtime Version Check". I found the value for 10.4 was not defined on my Leopard system - so I added a define of my own and used that.

Where can version information be gathered? Is there a better way to ensure that an application will refuse to run on older versions of OSX, issueing a warning to the user?

As I understand it, if you compile for say Tiger and later; your program will just not run on any previous system.


Hopefully someone will confirm this behaviour.

Hope that helps,
Dave

------
David Kennedy (http://www.zenopolis.com)


_______________________________________________

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: How to ensure minimum version requirement
      • From: Andre Schnoor <email@hidden>
References: 
 >How to ensure minimum version requirement (From: Andre Schnoor <email@hidden>)

  • Prev by Date: Application crashes due to NSLog in NSWorkspace isFilePackageAtPath
  • Next by Date: Re: How to ensure minimum version requirement
  • Previous by thread: How to ensure minimum version requirement
  • Next by thread: Re: How to ensure minimum version requirement
  • Index(es):
    • Date
    • Thread