Triggering NSTextView changes and bindings
Triggering NSTextView changes and bindings
- Subject: Triggering NSTextView changes and bindings
- From: Chris Idou <email@hidden>
- Date: Sun, 1 Feb 2009 08:45:39 -0800 (PST)
I've got an NSTextView whose attributeValue is bound to a core-data object.
I've got a menu item which programmatically modifies the NSTextView's contents.
The programmatic changes don't trigger a modification to the underlying object unless the user tabs to and exits the NSTextView manually.
What is the correct way, when programmatically modifying an NSTextView, to make sure the system propagates changes to underlying bindings?
Make Yahoo!7 your homepage and win a trip to the Quiksilver Pro. Find out more
_______________________________________________
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