<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSOutlineView/columnDidMoveNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSOutlineViewColumnDidMoveNotification"
  },
  "title" : "columnDidMoveNotification"
}
-->

# columnDidMoveNotification

Posted whenever a column is moved by user action in an `NSOutlineView` object.

```
class let columnDidMoveNotification: NSNotification.Name
```

## Discussion

The notification object is the `NSOutlineView` object in which a column moved. The `userInfo` dictionary contains the following information:

|Key             |Value                                                                                                                                  |
|----------------|---------------------------------------------------------------------------------------------------------------------------------------|
|`@"NSOldColumn"`|An <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing the integer value of the column’s original index|
|`@"NSNewColumn"`|An <doc://com.apple.documentation/documentation/Foundation/NSNumber> object containing the integer value of the column’s present index |

## See Also

[`moveColumn(_:toColumn:)`](/documentation/AppKit/NSTableView/moveColumn(_:toColumn:))

Moves the column and heading at the specified index to the new specified index.

To observe this notification using Swift concurrency, use [`NSOutlineView.ColumnDidMoveMessage`](/documentation/AppKit/NSOutlineView/ColumnDidMoveMessage).

---

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)