[CocoaApp isThisTiger]

Graham J Lee leeg at thaesofereode.info
Mon Oct 22 11:33:49 PDT 2007


On 22 Oct 2007, at 05:31, David Dunham 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.

"""
     A better way to get version information on Mac OS X would be to  
read in the
     system version information from the file /System/Library/ 
CoreServices/System
Version.plist.
"""
from the Gestalt documentation.

Cheers,
Graham.



More information about the MacOSX-dev mailing list