The user interface for a preference pane is customized in exactly the same way as the interface would be customized for an App. We create
@property declarations for
IBOutlet objects and connect them in the .xib
file to the
Graphical User Interface
(GUI) objects.
Before we start building our interface, we need to decide what our preference pane is going to do. After thinking about it we decide that our NewDefaults will include the following:
Enabling and disabling Launchpad fading
Showing and hiding hidden files in the Finder
Showing and hiding the Library folder in the current user's home folder
We further decide that our user interface will be a series of checkboxes that can be used to enable or disable these new behaviors.