• 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: How to build a "System Preference" Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build a "System Preference" Panel


  • Subject: Re: How to build a "System Preference" Panel
  • From: David Remahl <email@hidden>
  • Date: Sun, 17 Jun 2001 21:16:15 +0200

I need to build a preference panel for an application which contains about 20 subcategories. so i thougth a good idea is to implement something in the look and feel of the system preferences panel as the user is already familiar with this panel.

i've taken a closer look on the nib's used by apple to implement the system preferences panel. there is one main nib with the icon view's and two boxes and there are a number of nib's in the /System/Library/Preferences folder, which reflect the possible settings.

and here starts my problem: how is it done to load the separate nib's within (probably a view) of the main-nib and to resize the main-nib to the proper size. (like the system preferences panel implements it).

has anyone done this before? i think this is a elegant way to handle application preferences. if anyone can help me build this panel i will release the source code for it, so anyone who likes to can implement his application preferences on this basis.

thomas.

Have a look at Omni's OmniWeb...It uses the OTPreferences classes that are available as part of OmniAppKit.

btw. i've found something interesting in the nib's for the dock-preferences: there are two of them. the first is displayed in the system preferences. the second (called ...extended) contains fields for positioning the dock on any side of the screen. but i haven't managed to activate this panel with it's code yet.

Yup, I first noticed this like in the end of January. It is simple to activate it (just change its name and remove the original). However, the code to tell the dock to change its locate isn't there (in Dock.app) anymore...There aren't any preferences to keep the position either.

/ regards, David


References: 
 >How to build a "System Preference" Panel (From: "email@hidden" <email@hidden>)

  • Prev by Date: Interfacing with AddressBook
  • Next by Date: Memory Management and DO
  • Previous by thread: Re: How to build a "System Preference" Panel
  • Next by thread: Re: How to build a "System Preference" Panel
  • Index(es):
    • Date
    • Thread