• 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: Problems with bindings and "continuously updates"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with bindings and "continuously updates"


  • Subject: Re: Problems with bindings and "continuously updates"
  • From: Timothy Collett <email@hidden>
  • Date: Thu, 18 Oct 2007 11:28:30 -0400

On Oct 18, 2007, at 11:02 AM, Fritz Anderson wrote:

On 18 Oct 2007, at 9:52 AM, Timothy Collett wrote:

I'm having some troubles with some read-only bindings. I have several NSString values that are composites of other values (so there's no setMyStringValue method, just a myStringValue method), and they are not being checked properly by the text fields that are bound to them, even when I have "Continuously Updates Value" checked.

Have you called setKeys:triggerChangeNotificationsForDependentKey: in your model's +initialize method, so changing the components of your composite values will signal a change in your composites?

Aha! Thank you very much!

A newbie mistake indeed.  I shall add that call right away...

Timothy Collett

--

"Few men desire liberty; the majority are satisfied with a just master."
 - Gaius Sallustius Crispus
_______________________________________________

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: 
 >Problems with bindings and "continuously updates" (From: Timothy Collett <email@hidden>)
 >Re: Problems with bindings and "continuously updates" (From: Fritz Anderson <email@hidden>)

  • Prev by Date: NSFontManager addFontTrait: not working as expected
  • Next by Date: Re: NSTextView, Mail, and umlauts / combining marks / diacriticals
  • Previous by thread: Re: Problems with bindings and "continuously updates"
  • Next by thread: Re: Problems with bindings and "continuously updates"
  • Index(es):
    • Date
    • Thread