Re: How to ensure minimum version requirement
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