Re: How to ensure minimum version requirement
Re: How to ensure minimum version requirement
- Subject: Re: How to ensure minimum version requirement
- From: Andre Schnoor <email@hidden>
- Date: Thu, 08 Nov 2007 12:21:12 +0100
Citizen wrote:
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.
Great, thanks.
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.
It's as you said: It just doesn't start. I consider this behavior very
unfriendly. There should be at least a message, or a chance to open a
message box before the app quits. Probably there's an entry in the
system logs, but that's not sufficient. I'm having users download my
demo and they get the impression that it's crap because it won't start.
Unfortunately I don't have a 10.3 or earlier system at hand, so I can't
test.
Thanks again for the pointer.
Andre
_______________________________________________
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