Re: Sensible NSMultipleValuesMarker placeholder alternatives?
Re: Sensible NSMultipleValuesMarker placeholder alternatives?
- Subject: Re: Sensible NSMultipleValuesMarker placeholder alternatives?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 17 Jul 2012 10:58:34 -0700
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 (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