• 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: Bindings and nested checkboxes and enabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and nested checkboxes and enabled


  • Subject: Re: Bindings and nested checkboxes and enabled
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 16 Mar 2009 01:36:31 -0400

The logical answer is for some object in your application (probably
your application delegate) to observe the first property using KVO and
update the second property accordingly.  After all, don't you want to
update the second default anyway when the first changes?  You also
should be binding your second checkbox's enabled property to the same
keypath as the first checkbox's value; bindings are usually done from
view to controller, not view to view.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Bindings and nested checkboxes and enabled (From: Adam Gerson <email@hidden>)

  • Prev by Date: Re: Creating a text service
  • Next by Date: Re: Messages between Threads
  • Previous by thread: Re: Bindings and nested checkboxes and enabled
  • Next by thread: Bindings and radio buttons and enabled
  • Index(es):
    • Date
    • Thread