Re: Radio buttons as table views
Re: Radio buttons as table views
- Subject: Re: Radio buttons as table views
- From: lorenzo <email@hidden>
- Date: Wed, 27 Apr 2016 22:28:12 -0500
This ended up off-list. I’m reposting in case this might be of use to anyone.
> On Apr 25, 2016, at 6:26 PM, Quincey Morris <email@hidden> wrote:
>
> (we’re off-list, as of your last message — not sure if this was accidental, but feel free to repost to list if you wish)
>
> On Apr 25, 2016, at 12:33 , Lorenzo Thurman <email@hidden> wrote:
>>
>> I'll have to manually manage the select/unselect.
>
> Not necessarily. It’s possible to bind the value of the checkboxes to a Bool property of your ‘objectValue’ object.
>
> All you need is for this to be a “derived” property — one whose value is dependent on the value of a property in a different object (e.g. in your view controller, or your data source or delegate), and is made KVO compliant by the ‘keyPathsForValuesAffecting<Key>’ mechanism, or something equivalent.
>
>
_______________________________________________
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