• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining OS version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining OS version


  • Subject: Re: Determining OS version
  • From: Ali Ozer <email@hidden>
  • Date: Tue, 18 Oct 2005 11:35:02 -0700

This is very fishy.  I would avoid reading this file if you can.
Ali



Begin forwarded message:

From: John Stiles <email@hidden>
Date: October 18, 2005 11:08:27 PDT
To: "Paul J. Lucas" <email@hidden>
Cc: email@hidden
Subject: Re: Determining OS version

On Oct 18, 2005, at 11:01 AM, Paul J. Lucas wrote:

On Tue, 18 Oct 2005, Nick Zitzmann wrote:


On Oct 18, 2005, at 10:27 AM, Paul J. Lucas wrote:


   But NSAppKitVersionNumber doesn't seem (at least not according
   to the developer documentation I have) to go to 10.3.9.  I have
   to ensure my app is running on 10.3.9 or later (because there
   were specific fixes in 10.3.9).


Try using Gestalt() then to get the system version. You can search the list
archives for details.



Actually, the Gestalt documentation specifically says to use the /System/Library/CoreServices/SystemVersion.plist file.


Wow, I never would have believed it, but it does say that.
For years, the opposite was true--Gestalt was recommended above using the SystemVersion plist. I thought older versions of OS X Server lacked that file entirely (but our 10.4.2 Server has it).
I am going to ask in CarbonDev why this recommendation was made._______________________________________________


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Determining OS version
      • From: Graham J Lee <email@hidden>
References: 
 >Re: Determining OS version (From: Jerry Krinock <email@hidden>)
 >Re: Determining OS version (From: "Paul J. Lucas" <email@hidden>)
 >Re: Determining OS version (From: Nick Zitzmann <email@hidden>)
 >Re: Determining OS version (From: "Paul J. Lucas" <email@hidden>)
 >Re: Determining OS version (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Best way to get NSImage for NSWindow?
  • Next by Date: Custom View problem - Example code
  • Previous by thread: Re: Determining OS version
  • Next by thread: Re: Determining OS version
  • Index(es):
    • Date
    • Thread