---
title: NSFileManagerSupportedSyncControls
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nsfilemanagersupportedsynccontrols
---

# NSFileManagerSupportedSyncControls

An option set of the sync controls available for an item.

## Declaration

```swift
struct NSFileManagerSupportedSyncControls
```

## Overview

Overview Get an instance of this type by calling resourceValues(forKeys:) on a URL instance (Swift) or getResourceValue(_:forKey:) on an NSURL (Swift or Objective-C) and passing in the key ubiquitousItemSupportedSyncControlsKey.

## Topics

### Inspecting supported sync controls

- [pauseSync](foundation/nsfilemanagersupportedsynccontrols/pausesync.md)
- [failUploadOnConflict](foundation/nsfilemanagersupportedsynccontrols/failuploadonconflict.md)

### Working with raw values

- [init(rawValue:)](foundation/nsfilemanagersupportedsynccontrols/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Controlling file provider synchronization

- [pauseSyncForUbiquitousItem(at:completionHandler:)](foundation/filemanager/pausesyncforubiquitousitem(at:completionhandler:).md)
- [resumeSyncForUbiquitousItem(at:with:completionHandler:)](foundation/filemanager/resumesyncforubiquitousitem(at:with:completionhandler:).md)
- [NSFileManagerResumeSyncBehavior](foundation/nsfilemanagerresumesyncbehavior.md)
- [fetchLatestRemoteVersionOfItem(at:completionHandler:)](foundation/filemanager/fetchlatestremoteversionofitem(at:completionhandler:).md)
- [NSFileVersion](foundation/nsfileversion.md)
- [uploadLocalVersionOfUbiquitousItem(at:withConflictResolutionPolicy:completionHandler:)](foundation/filemanager/uploadlocalversionofubiquitousitem(at:withconflictresolutionpolicy:completionhandler:).md)
- [NSFileManagerUploadLocalVersionConflictPolicy](foundation/nsfilemanageruploadlocalversionconflictpolicy.md)
