[CocoaApp isThisTiger]

Rosyna rosyna at unsanity.com
Mon Oct 22 19:20:05 PDT 2007


That is *exactly* the problem and why you should not parse 
SystemVersion.plist directly. How do you convert the string 10.4.10 
into a numerical value you can compare against? And why are you even 
bothering to do that when Gestalt() gives you the numerical values 
correctly, no need to parse.

Ack, at 10/23/07, Graham J Lee said:

>On 23 Oct 2007, at 03:00, Rosyna wrote:
>
>>And the documentation on Tiger for reading that file is wrong. Very 
>>wrong. And you can see how wrong it is by every application that 
>>broke horribly in 10.4.10 because they didn't use Gestalt() like 
>>you're supposed to.
>
>On my system, SystemVersion.plist reports 10.4.10 so I don't see how 
>that's distinct from 10.4.10.

-- 


Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.


More information about the MacOSX-dev mailing list