---
title: byMoving
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsfileversion/addingoptions/bymoving
---

# byMoving

## Declaration

```swift
static var byMoving: NSFileVersion.AddingOptions { get }
```

## Discussion

Discussion When adding a file, you can specify this option if you want to create the version by moving the source file to the specified location.
