• 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: Cocoa Bindings & GUI question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Bindings & GUI question


  • Subject: Re: Cocoa Bindings & GUI question
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 16 May 2005 13:15:43 -0400


On May 16, 2005, at 10:03 AM, Jesus De Meyer wrote:


Bind your master checkbox's 'value' attribute to your model (e.g. user defaults) with whatever key path you want.  Then, for each of the checkboxes in your group, bind their 'enabled' attribute to your model to the same key path as for your master checkbox.


Thanks for the tip. I noticed that there 2 kinds of userdefaults: NSUserDefaultsController and the Shared User Defaults. Which one should I use? I have seen in some examples that they use the shared one, so what's the use of the other one?

    Shared User Defaults is an instance of NSUserDefaultsController that uses the standard user defaults for the application.  NSUserDefaultsController can be configured in a number of different ways (for example, you can specify a different NSUserDefaults instance to use).

    So, use eh Shared User Defaults 

 _______________________________________________
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: Cocoa Bindings & GUI question
      • From: Nicolas Berloquin <email@hidden>
References: 
 >Cocoa Bindings & GUI question (From: Jesus De Meyer <email@hidden>)
 >Re: Cocoa Bindings & GUI question (From: Ricky Sharp <email@hidden>)
 >Re: Cocoa Bindings & GUI question (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: FSCopyObjectAsync: useless and crippled
  • Next by Date: Re: From Panther to Tiger
  • Previous by thread: Re: Cocoa Bindings & GUI question
  • Next by thread: Re: Cocoa Bindings & GUI question
  • Index(es):
    • Date
    • Thread