• 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: Force binding to set variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force binding to set variable?


  • Subject: Re: Force binding to set variable?
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 29 Aug 2006 10:20:31 -0700
  • Thread-topic: Force binding to set variable?

On Tue, 29 Aug 2006 12:16:19 +0000, Trygve Inda <email@hidden>
said:
>I have a group of controls that are bound to elements of a dictionary
>(dict.controlA, dict.controlB etc.).
>
>The key/value only gets set when the control is changed by the user. Is
>there a way to force these bindings to set the keys? The reason is that this
>dict is written out to disk and then read by another process that would be
>cleaner if all the keys where there.

Why don't *you* set the keys (when you create the dictionary)? m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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: Force binding to set variable?
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Re: I'm having trouble retaining a NSColor
  • Next by Date: Re: Window controller dealloc never called
  • Previous by thread: Re: Force binding to set variable?
  • Next by thread: Re: Force binding to set variable?
  • Index(es):
    • Date
    • Thread