<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTableViewDelegate/tableViewSelectionIsChanging(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSTableViewDelegate(im)tableViewSelectionIsChanging:"
  },
  "title" : "tableViewSelectionIsChanging(_:)"
}
-->

# tableViewSelectionIsChanging(_:)

Tells the delegate that the table view’s selection is in the process of changing.

```
@MainActor optional func tableViewSelectionIsChanging(_ notification: Notification)
```

## Parameters

`notification`

A notification named [`selectionIsChangingNotification`](/documentation/AppKit/NSTableView/selectionIsChangingNotification).

## Discussion

This method is called only when mouse events—and not keyboard events—are changing the selection. For example, this method is called when the user drags the mouse across multiple table rows.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)