You'll need to have a bundle project, and subclass NSPreferencesPane
(found in the PreferencesPanes.framework). The header file there
pretty much explains what you need to do. You provide a .nib, and
you override methods for when your pane is loaded and/or when it is
selected by the user.