• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSArrayController selectNext updating late
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • NSSearchField search menu issue - menu not appearing in 10.4
      • From: Matthew Holiday <email@hidden>
References: 
 >Re: NSArrayController selectNext updating late (From: email@hidden)

  • Prev by Date: Re: Simple question
  • Next by Date: Re: Disabling Display of JPG and PDF Files in NSTextView
  • Previous by thread: Re: NSArrayController selectNext updating late
  • Next by thread: NSSearchField search menu issue - menu not appearing in 10.4
  • Index(es):
    • Date
    • Thread