• 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 how the app is run (intel/ppc/rosetta/os version)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining how the app is run (intel/ppc/rosetta/os version)?


  • Subject: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Sat, 27 May 2006 17:16:09 +0100

On 26/05/06, Gerben Wierda <email@hidden> wrote:
Yes, that should work. Should I worry that Apple more or less says in
the docs that one shoud not infer anything from using Gestalt this way?

Could you elaborate? The docs might say that you should test for specific functionality rather than assuming that it's present based on the system version or something like that, but I don't think that's relevant in this situation.

In terms of defensive programming, can I find out somehow in my code at
run time what SDK version I have been using during development?

Not really, no. There has been some discussion recently about the fact there are no constants indictating the SDK version, which is probably a regression since Universal Headers. (Actually, there's no real versioning of the SDKs at all, which can be annoying for a variety of reasons. I believe this was discussed at some length on the xcode-users list, which is more appropriate for this sort of topic anyway.)

-- Finlay
_______________________________________________
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


References: 
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Greg Hurrell <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Greg Hurrell <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: "Finlay Dobbie" <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: "Finlay Dobbie" <email@hidden>)
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)

  • Prev by Date: [Moderator] EOT (Re: Determining how the app is run (intel/ppc/rosetta/os version)?)
  • Next by Date: RE: [Q] omissible method declaration in interface file
  • Previous by thread: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Next by thread: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Index(es):
    • Date
    • Thread