• 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
Poking NSTextView Binding to Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Poking NSTextView Binding to Update


  • Subject: Poking NSTextView Binding to Update
  • From: Seth Willits <email@hidden>
  • Date: Wed, 16 Apr 2008 16:26:50 -0700

I have a text view bound to a key path through an array controller's selectedObject, and it doesn't update the value immediately when changing the text, it only updates the model if the text view loses first responder. I need the model sync'd before I do a certain operation, so I need to binding to update the value in the model. I can change first responder manually to trigger the update, but is there a proper way to poke the binding to update?


-- Seth Willits




_______________________________________________

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


  • Follow-Ups:
    • Re: Poking NSTextView Binding to Update
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Next by Date: Re: Poking NSTextView Binding to Update
  • Previous by thread: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Next by thread: Re: Poking NSTextView Binding to Update
  • Index(es):
    • Date
    • Thread