On Tue, Jul 17, 2012, at 10:13 AM, Quincey Morris wrote:
> 1. Detect when the text field is really being edited. That probably means
> you can't bind the field through the array controller directly to your
> data model. Instead, bind it to an intermediate property in (say) your
> window controller, and add window controller logic to determine what that
> intermediate property represents, depending on the selection state of the
> array controller and the editing state of the text field.

Or you could add a delegate to the text field that responds to
-control:textDidChange:. Unless the delegate receives that message, the
text field has not been edited by the user.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to