I'm curious what this means too - obviously my code is currently in
the twilight zone caught between two worlds ;-)
The Cocoa docs for NSTableViewSelectionIsChangingNotification says:
Posted as an NSTableView object's selection changes (while the mouse
button is still down). The notification object is the table view whose
selection is changing. This notification does not contain a userInfo
dictionary.
and the related table delegate method (-tableViewSelectionIsChanging:)
has this note:
Informs the delegate that the table view’s selection is in the process
of changing (typically because the user is dragging the mouse across a
number of rows).
These two are definitely related to the user's mousing activities, and
not are not a notification that the table selection DID change (by
whatever means, including programmatically).
I have code that needs to respond to changes in selection however that
occurs, and its natural (and in keeping with common patterns) to hook
this off the notification that this has occurred, rather than rolling
my own parallel update mechanism and sprinkling calls to an update
method around places that induce a change.