[CocoaApp isThisTiger]
Shawn Erickson
shawnce at gmail.com
Mon Oct 22 10:55:13 PDT 2007
On 10/21/07, David Dunham <dunham at mac.com> wrote:
> I'd like to disable some UI if my Cocoa application is running under
> Tiger (as opposed to Leopard). Gestalt would work perfectly well, but
> I wonder what the hard core "no Carbon" Cocoa developers prefer to
> determine this. Or if AppKit version is preferred.
Check for the existance/lack of a feature that you need at runtime.
Avoid testing for OS version if possible.
Need to know more about why you want to disable an aspect of UI on
Tiger to give specifics...
-Shawn
More information about the MacOSX-dev
mailing list