Here's a peculiar little case that I hope is easy to resolve.
Here's the case I ran into:
I had bound an NSTextField to an attribute of an object. The interface
at that point implied that the user could update the value in that
field, then immediately click a button to perform an action. The
If you want to make sure that the validation error is bound to the
window regardless of how commitEditing is implemented you need to call
commitEditingWithDelegate:didCommitSelector:contextInfo: and then in
the method you pass in as the didCommitSelector you can check to see
if there were
On Nov 11, 2008, at 17:21, Ashley Clark wrote:
If you want to make sure that the validation error is bound to the
window regardless of how commitEditing is implemented you need to
call commitEditingWithDelegate:didCommitSelector:contextInfo: and
then in the method you pass in as the