• 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: Newbie Q'n Related to Application Preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Q'n Related to Application Preferences


  • Subject: Re: Newbie Q'n Related to Application Preferences
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 28 Oct 2005 08:44:16 -0700


On Oct 28, 2005, at 7:15 AM, Apparao wrote:

This is regarding application preferences (like having some currency related..). My app was multi document app. In a single document, i have several controllers. In each controller i have set of textfields and tableViews. If i change(for suppose currency symbol). I have to update all the textfields and tableviews in all controllers in all opened documents. How can i bind all these things.

It's not clear what your problem is (in what sense do you mean, "How can I bind all these things?")? You can use Cocoa bindings for your Preferences pane (see for example, <http://developer.apple.com/cocoa/ cocoabindings.html>, <http://developer.apple.com/documentation/Cocoa/ Conceptual/CocoaBindings/Concepts/NSUserDefaultsController.html> and Controlled Preferences at <http://homepage.mac.com/mmalc/ CocoaExamples/controllers.html>). To propagate changes made to the defaults, you either register for NSUserDefaultsDidChangeNotification notifications, or observe the relevant values in the shared NSUserDefaultsController instance.


mmalc

_______________________________________________
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: 
 >Newbie Q'n Related to Application Preferences (From: Apparao <email@hidden>)

  • Prev by Date: Debugging sporadic NSViewAnimation crash?
  • Next by Date: Re: Table view jumps to selection on insertion
  • Previous by thread: Newbie Q'n Related to Application Preferences
  • Next by thread: another combo box question
  • Index(es):
    • Date
    • Thread