Re: Waiting on NSTableView to finish changing selection

2009-07-08 Thread Allan Donald
On Wed, Jul 8, 2009 at 6:24 PM, Adam R. Maxwell 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

Re: Waiting on NSTableView to finish changing selection

2009-07-08 Thread Adam R. Maxwell
On Jul 8, 2009, at 10:15 AM, Kyle Sluder wrote: On Wed, Jul 8, 2009 at 8:33 AM, Allan Donald wrote: I've got an NSTableView that triggers some relatively expensive stuff when its selection changes. If the user is holding down one of the arrow keys to move through the list, I'd like to wait unt

Re: Waiting on NSTableView to finish changing selection

2009-07-08 Thread Kyle Sluder
On Wed, Jul 8, 2009 at 8:33 AM, Allan Donald wrote: > I've got an NSTableView that triggers some relatively expensive stuff > when its selection changes. If the user is holding down one of the > arrow keys to move through the list, I'd like to wait until they've > finished before starting the opera

Waiting on NSTableView to finish changing selection

2009-07-08 Thread Allan Donald
Hi all, I've got an NSTableView that triggers some relatively expensive stuff when its selection changes. If the user is holding down one of the arrow keys to move through the list, I'd like to wait until they've finished before starting the operation. (Somewhat akin to what Mail.app does -- it wo