• 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 in a separate nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Preferences in a separate nib file (From: Derrick Bass <email@hidden>)

  • Prev by Date: Re: Return vs Enter
  • Next by Date: Re: Quartz/TLayer mod to create window via action fails "Could not connect the action"
  • Previous by thread: Re: Preferences in a separate nib file
  • Next by thread: How do I programmatically access multiple data models within XCode 2.1?
  • Index(es):
    • Date
    • Thread