• 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: Jesus De Meyer <email@hidden>
  • Date: Mon, 16 May 2005 16:03:59 +0200


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?


Thanks in advance,

Jesus


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

  • Prev by Date: Re: Loading classes for use with NSClassFromString, how?
  • Next by Date: Re: Loading classes for use with NSClassFromString, how?
  • Previous by thread: Re: Cocoa Bindings & GUI question
  • Next by thread: Re: Cocoa Bindings & GUI question
  • Index(es):
    • Date
    • Thread