How to build a "System Preference" Panel
How to build a "System Preference" Panel
- Subject: How to build a "System Preference" Panel
- From: "email@hidden" <email@hidden>
- Date: Sun, 17 Jun 2001 11:07:41 +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.
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.