Re: Preferences Dialogs
Re: Preferences Dialogs
- Subject: Re: Preferences Dialogs
- From: David Remahl <email@hidden>
- Date: Mon, 23 Dec 2002 21:06:47 +0100
Many other programs make their panes subclasses of the NSPreferencePane
class defined in PreferencePanes.framework. They then store each pref
module as a .prefPane bundle inside their program bundle. They then
follow the contract that Apple defines for preference panes, calling
-mainViewDidLoad at the appropriate time etc.
I believe there is a private API for preference management somewhere,
based on .prefPanes, and the possibility of Apple making that public
some time in the future makes the .prefPane even more attractive.
/ Regards, David
I rolled my own. It wasn't a lot of work. Basically a tabless
NSTabView and
a window with an NSToolbar attached. I don't resize automatically but
that's
pretty trivial to add.
Jon.
On 12/23/02 12:35, "Joseph Jones" <email@hidden> wrote:
OK, I wan't to do a pref dialog like I see in a host of other apps.
You
know, the one that autosizes to the particular pref and shows
categories of
prefs as icons. I see that many apps provide this, but none of the
Cocoa
books I have talks about generating a pref dialog like this. Is this a
feature of Cocoa I can hook into, or is this a lot of people putting
a llot
of work into their pref dialogs?
Thanx,
Joe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.