Re: commitEditing
Re: commitEditing
- Subject: Re: commitEditing
- From: Ron Lue-Sang <email@hidden>
- Date: Wed, 22 Oct 2008 22:28:08 -0700
The only reason a controller would return NO for commitEditing is that
one of *its* editors refused to commitEditing. Up the chain somewhere,
there must be a textField bound to the controller or one of its detail
controllers and a formatter or validation method is saying that the
current value is unacceptable.
commitEditing is just supposed to do it, or not. The caller shouldn't
have to know why committing didn't work. The receiver should be
communicating to the user that editing is ending – and in your case
that editing can't be ended with the current value.
I can't suggest more on how to debug this without know more about you
app.
On Oct 22, 2008, at 3:15 PM, Chris Idou wrote:
I'm calling commitEditing on a NSObjectController, and its returning
NO, for no apparent or obvious reason.
How am I supposed to debug these things?
--------------------------
RONZILLA
_______________________________________________
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