• 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: Preference Pane require version test?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preference Pane require version test?


  • Subject: Re: Preference Pane require version test?
  • From: Steve Christensen <email@hidden>
  • Date: Tue, 19 Dec 2006 08:38:01 -0800

On Dec 19, 2006, at 1:45 AM, Trygve Inda wrote:

I have a System Preference Pane that needs to require 10.4. How can I tell
the System Preference app that my pane needs 10.4?

There may be a formal method of doing that (I haven't actually tried to write one, so I don't know for sure), but if not here are some possibilities for doing something in code:


1. If preference panes can return a result that prevents them from being used, add a call to Gestalt to check that the system version is >= 10.4 and bail with an appropriate error code if not?

2. If the preference pane loading mechanism assumes that "if the preference pane exists, it can be loaded," add a call to an innocuous Carbon API routine that is only available on 10.4 and later, and have your build set up such that your OS deployment version is also 10.4. That should prevent your preference pane from being able to load on pre-10.4 since it won't be able to resolve all the symbols.

steve

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Preference Pane require version test? (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: capturing user reaction times in msecs
  • Next by Date: Re: capturing user reaction times in msecs
  • Previous by thread: Re: Preference Pane require version test?
  • Next by thread: NSURLDownload and file resuming
  • Index(es):
    • Date
    • Thread