Re: NSArrayController selectNext updating late
Re: NSArrayController selectNext updating late
- Subject: Re: NSArrayController selectNext updating late
- From: Scott Anguish <email@hidden>
- Date: Wed, 14 Sep 2005 05:33:14 -0400
On Sep 13, 2005, at 8:21 AM, j o a r wrote:
On 12 sep 2005, at 10.44, Scott Anguish wrote:
In 10.4 the action methods are performed delayed, to allow for
sheets to be presented that can provide error feedback.
this is expected behavior.
...and properly documented, I'm sure?
Any method that delays it's execution is an exception to the norm
in my opinion, and non-default behaviour needs double-plus-good
documentation.
one other comment...
in general it's probably a bad idea to use the target-action
methods in any way other than as targets for UI items.
all of them can result in the selection attempting to change,
and this can be denied due to validation issues. unlike the other
selection, insertion and deletion methods, there is no bool to
indicate if it was successful in changing the selection. So you'll
not know if it failed, and the app might react strangely from the
user's perspective.
oh, and if you're changing the selection manually, check the bool.
_______________________________________________
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