• 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
Sharing preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sharing preferences


  • Subject: Sharing preferences
  • From: Chad Armstrong <email@hidden>
  • Date: Tue, 29 Mar 2005 18:01:24 -0600

I have an application which has one nib file, but has several different controllers (and their associated .h and .m files) to control various aspects of the application. What I want to do now is add a preference window. I am looking for various ways on what might be the best way to be able to set, load, and share the preference data throughout the application.

What would be the most effective way to share the data between the various controller classes? Would it be advisable to create another controller (and associated files) just for the preference window and its controls/buttons, also?

Before, I've just had smaller applications, and included everything (main program, preferences, etc.) into the same class. Now, this looks to be a more complicated matter (perhaps) on how to share the data across multiple classes and controllers.

Regards,

Chad Armstrong

_______________________________________________
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


  • Follow-Ups:
    • Re: Sharing preferences
      • From: Bill Cheeseman <email@hidden>
    • Re: Sharing preferences
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: Up arrow in NSTextView
  • Next by Date: Re: Up arrow in NSTextView
  • Previous by thread: NSFileHandle question.
  • Next by thread: Re: Sharing preferences
  • Index(es):
    • Date
    • Thread