• 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: Preferences Dialogs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Preferences Dialogs (From: Jonathan Wight <email@hidden>)

  • Prev by Date: Re: Preferences Dialogs
  • Next by Date: Re: Determining if NS/CFDictionary is mutable?
  • Previous by thread: Re: Preferences Dialogs
  • Next by thread: NSCFNumber, no pool in place - just leaking
  • Index(es):
    • Date
    • Thread