---
title: NSFileManagerResumeSyncBehavior.dropLocalChanges
framework: foundation
role: symbol
role_heading: Case
path: foundation/nsfilemanagerresumesyncbehavior/droplocalchanges
---

# NSFileManagerResumeSyncBehavior.dropLocalChanges

Resumes synchronizing by overwriting any local changes with the remote version of the file.

## Declaration

```swift
case dropLocalChanges
```

## Discussion

Discussion If a conflict occurs, the file manager stores the local changes as an alternate version. Only use this behavior if you provide a separate means of resolving and merging conflicts.

## See Also

### Identifying sync behaviors

- [NSFileManagerResumeSyncBehavior.preserveLocalChanges](foundation/nsfilemanagerresumesyncbehavior/preservelocalchanges.md)
- [NSFileManagerResumeSyncBehavior.afterUploadWithFailOnConflict](foundation/nsfilemanagerresumesyncbehavior/afteruploadwithfailonconflict.md)
