• 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: Can initialKey & initialValue be set via bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Can initialKey & initialValue be set via bindings? (From: John Chacho <email@hidden>)
 >Re: Can initialKey & initialValue be set via bindings? (From: Quincey Morris <email@hidden>)
 >Re: Can initialKey & initialValue be set via bindings? (From: John Chacho <email@hidden>)

  • Prev by Date: Re: Selected value binding in popups
  • Next by Date: Re: Selected value binding in popups
  • Previous by thread: Re: Can initialKey & initialValue be set via bindings?
  • Next by thread: Storing cache data in NSDocument
  • Index(es):
    • Date
    • Thread