---
title: "outlineView(_:didDrag:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsoutlineviewdelegate/outlineview(_:diddrag:)"
---

# outlineView(_:didDrag:)

Sent at the time the mouse button goes up in outlineView and tableColumn has been dragged during the time the mouse button was down.

## Declaration

```swift
@MainActor optional func outlineView(_ outlineView: NSOutlineView, didDrag tableColumn: NSTableColumn)
```

## Parameters

- `outlineView`: The outline view that sent the message.
- `tableColumn`: The table column.

## See Also

### Working with Table Columns

- [outlineView(_:mouseDownInHeaderOf:)](appkit/nsoutlineviewdelegate/outlineview(_:mousedowninheaderof:).md)
- [outlineView(_:didClick:)](appkit/nsoutlineviewdelegate/outlineview(_:didclick:).md)
