Re: NSArrayController selectNext updating late
Re: NSArrayController selectNext updating late
- Subject: Re: NSArrayController selectNext updating late
- From: Scott Anguish <email@hidden>
- Date: Thu, 15 Sep 2005 01:34:26 -0400
On Sep 14, 2005, at 7:54 AM, email@hidden wrote:
And now I understand your concern over the possibility that insert:
fails due to some validation issue (not likely in my case, but in
general). Any idea how to determine if this in fact is the case (or
conversely, how to determine that it succeeded, since that's the
case I need to handle)?
the concern isn't that the insert: is going to fail. It's
before that, when the editing of the previously selected row resigns
due to the selection change. that can trigger a validation test which
can fail, and cause the selection change to be denied.
the work around is to handle all the selection and insertion
stuff using the methods that aren't target-action, so you get the
bool return results and can react accordingly.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden