[CocoaApp isThisTiger]

Christiaan Hofman cmhofman at gmail.com
Tue Oct 23 02:15:57 PDT 2007


On 23 Oct 2007, at 2:00 AM, David Dunham wrote:

> On 22 Oct 2007, at 16:22, David Dunham wrote:
>
>> Fabian
>>
>>> 	if ((int)floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_3)
>>> 		return LSESystemVersionTiger;
>>
>> This doesn't actually work:
>
> Whoops, I missed the "floor" there. Probably does work.
>
> It does seem odd there's no NSAppKitVersionNumber10_4 in the 10.4u  
> SDK.
>
> David Dunham
> Voice/Fax: 206 783 7404             http://www.pensee.com/dunham/
> Imagination is more important than knowledge. -- Albert Einstein

That should be in the main System version of NSApplication.h on  
Leopard. Certainly not in the 10.4u SDK, because that SDK is  
available on Tiger, and Tiger doesn't (officially) know it's last  
AppKit version number yet.

Christiaan





More information about the MacOSX-dev mailing list