[CocoaApp isThisTiger]

Finlay Dobbie finlay.dobbie at gmail.com
Mon Oct 22 11:26:19 PDT 2007


On 22/10/2007, 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.

You can use NSAppKitVersionNumber, but "hard core no Carbon Cocoa
developers" need to grow up and stop being babies.

 -- Finlay


More information about the MacOSX-dev mailing list