• 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: Waiting on NSTableView to finish changing selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Waiting on NSTableView to finish changing selection


  • Subject: Re: Waiting on NSTableView to finish changing selection
  • From: Allan Donald <email@hidden>
  • Date: Wed, 8 Jul 2009 23:07:22 +0100

On Wed, Jul 8, 2009 at 6:24 PM, Adam R. Maxwell<email@hidden> wrote:
> On Jul 8, 2009, at 10:15 AM, Kyle Sluder wrote:
>
>> Subclass NSTableView and override -keyDown:
>
> That sounds like a good way to do it.  Another is to implement the table
> delegate to enqueue/coalesce a notification [snip]

Yep, flagging the keyDown/Ups does the job neatly. (For anyone coming
across this in future, the selectionDidChange is fired before the
keyUp, as makes sense ultimately, so you have to send a separate
notification, as Adam says).

Hadn't thought of coalescing the notifications either, that would have
solved it as well.

Many thanks to both of you.
-Allan
_______________________________________________

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

References: 
 >Waiting on NSTableView to finish changing selection (From: Allan Donald <email@hidden>)
 >Re: Waiting on NSTableView to finish changing selection (From: Kyle Sluder <email@hidden>)
 >Re: Waiting on NSTableView to finish changing selection (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Why do I receive KVO notification when new value IS the old value?
  • Next by Date: Re: Core Data Material Properties
  • Previous by thread: Re: Waiting on NSTableView to finish changing selection
  • Next by thread: Help
  • Index(es):
    • Date
    • Thread