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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to