---
title: "move(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsdocument/move(_:)"
---

# move(_:)

Moves the document to a new location in response to the user choosing the Move To… menu item.

## Declaration

```swift
@IBAction func move(_ sender: Any?)
```

## Parameters

- `sender`: The control sending the message.

## Discussion

Discussion This is the action method of the Move To… menu item in a document-based app. By default, this method invokes the move(completionHandler:) method, passing nil as a parameter value.

## See Also

### Moving the Document

- [move(completionHandler:)](appkit/nsdocument/move(completionhandler:).md)
- [move(to:completionHandler:)](appkit/nsdocument/move(to:completionhandler:).md)
