Re: Poking NSTextView Binding to Update
Re: Poking NSTextView Binding to Update
- Subject: Re: Poking NSTextView Binding to Update
- From: Seth Willits <email@hidden>
- Date: Wed, 16 Apr 2008 16:31:48 -0700
On Apr 16, 2008, at 4:26 PM, Seth Willits wrote:
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?
Bah. I totally forgot the NSController superclass existed. I only went
down as far as NSObjectController. Forgive my quite newbish mistake. :(
-commitEditing:
--
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