Re: Preferences in a separate nib file
Re: Preferences in a separate nib file
- Subject: Re: Preferences in a separate nib file
- From: Conor Dearden <email@hidden>
- Date: Tue, 08 Nov 2005 10:03:52 +0100
It's a question of programming taste. My preferences have a lot of options
including a NSTableView by having a separate object I keep all those methods
contained in one file. The outlets to the objects are also isolated. If you
have only a few preferences or are using panther bindings I would not create
a separate object, you can use the NSUserDefaults controller in your
preference nib to achieve most of the preference settings without having to
write any code. Also not having a separate objects gives you easier access
to the controller functions via "self" and other objects the controller is
connected to.
Conor Dearden
http://www.bruji.com/
On 7/11/05 5:54 AM, "Derrick Bass" <email@hidden> wrote:
> If I might ask, what are the downsides to that? The upside seems to
> be not having to declare another object to own the preferences window.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden