RE: Graceful Shutdown on an Unsupported Earlier Mac OS Version
RE: Graceful Shutdown on an Unsupported Earlier Mac OS Version
- Subject: RE: Graceful Shutdown on an Unsupported Earlier Mac OS Version
- From: Etienne Guérard <email@hidden>
- Date: Tue, 18 Nov 2008 05:40:16 -0500
- Thread-topic: Graceful Shutdown on an Unsupported Earlier Mac OS Version
See http://homepage.mac.com/chris_campbell/blog/SystemVersionCheck-1.1.html for a discussion and a solution to this problem.
EG
-----Original Message-----
While it is not my intention to support previous versions of Mac OS,
I'd like my users be informed politely that the latest OS version is
required and the application shut down gracefully.
What is the recommended way to do this?
Basically it boils down to 2 questions:
1) How do I query the current OS version in Cocoa?
2) Will my code even have the opportunity to check the OS version, or
an error will occur on the stage of loading and reported by the OS
loader, before a single line of my code gets executed? I'm asking this
because this would be the case on Windows when the required statically
linked DLLs, are missing or have incorrect version.
I do not have any previous version of Mac OS at my disposal, so I
can't test what happens. I wish Mac OS X is smart enough to take care
of the problem without the need of any coding. I want to make sure.
------------------------------------------------------------
This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither DxO Labs nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. DxO Labs et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, modifie ou falsifie.
_______________________________________________
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