Re: Can initialKey & initialValue be set via bindings?
Re: Can initialKey & initialValue be set via bindings?
- Subject: Re: Can initialKey & initialValue be set via bindings?
- From: Quincey Morris <email@hidden>
- Date: Thu, 16 Jun 2016 11:35:04 -0700
- Feedback-id: 167118m:167118agrif8a:167118sRX_UYbWvB:SMTPCORP
On Jun 16, 2016, at 11:11 , John Chacho <email@hidden> wrote:
>
> 1. Declare and synthesize two properties to hold a key NSString and a value NSString in the controller.
> 2. Bind the NSTextFields to the properties and check "Continuously Updates Values"
> 3. Bind the NSDictionaryControl "Initial Key" and "Initial Value" to the properties.
Yes, it occurred to me afterwards that you could probably do it this way, but I think it’s a bit of a wash, since the implementation of these properties is basically the guts of the custom action method I suggested.
_______________________________________________
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