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

Re: Preference dialog


  • Subject: Re: Preference dialog
  • From: email@hidden
  • Date: Sun, 29 Feb 2004 22:10:24 EST

When ever I come accross someone looking for a iChat/Safari/Mail type
preference dialog I've been forwarding a much smaller and easier to impliment version
like the Omni Preference Example and it doesn't require a degree to figure
out how to use, it has nice class documentation as well.

http://iratescotsman.com/ftp/source/ssprefscontroller.tar.gz

In a message dated 02/29/2004 15:03:28, email@hidden writes:

>On 29 Feb 2004, at 6:39 pm, Steve Palmer wrote:
>
>> I'm looking for some sample code that implements a Preferences dialog
>
>> like the one in Safari or Mail. I've seen an implementation from
>> Omnigroup but that's a huge amount of code with a lot of dependencies
>
>> on other part of the Omni framework that I don't want to start from
>> that. I'm really just looking for something very simple.
>
>Don't be intimidated by the size of the Omni frameworks. I haven't
>looked at the Preferences subproject, but it's usually not difficult to
>
>slice chunks off the frameworks and snip off any extraneous
>dependencies. On the other hand, UKPrefsPanel is probably your best bet
>
>for ease of use.
>
>Mail and Safari's preferences windows use multiple nibs. Each nib
>represents one "pane" of the prefs window. The nib contains a window
>with its controls grouped in an NSBox. It seems that this box view is
>added as a subview to the preferences window when its corresponding
>icon is clicked, and the window resized with setFrame:display:animate:.
>
>Definitely not simple, and probably only worthwhile if you're dealing
>with a hefty slab of user preferences.
>
>> I could have a try and writing my own but it seems like this style of
>
>> preferences is fairly ubiquitous that I'm a little surprised that it
>
>> isn't part of the Cocoa AppKit framework.
>
>Stick around. You'll come across quite a few ubiquitous features which
>
>aren't provided ready-cooked in the AppKit. That's Cocoa-biz.
>
>-Jeremy
_______________________________________________
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.


  • Prev by Date: Re: how to test for NULL (or nil, or null)
  • Next by Date: Re: NSDecimalNumber and 10.2.x: is this bug a secret?
  • Previous by thread: Re: Preference dialog
  • Next by thread: Locating application bundle from a nib file
  • Index(es):
    • Date
    • Thread