---
title: NSFileProviderKnownFolderLocations
framework: fileprovider
role: symbol
role_heading: Class
path: fileprovider/nsfileproviderknownfolderlocations
---

# NSFileProviderKnownFolderLocations

A class for working with known-folder locations.

## Declaration

```swift
class NSFileProviderKnownFolderLocations
```

## Topics

### Identifying known-folder locations

- [desktopLocation](fileprovider/nsfileproviderknownfolderlocations/desktoplocation.md)
- [documentsLocation](fileprovider/nsfileproviderknownfolderlocations/documentslocation.md)
- [NSFileProviderKnownFolderLocations.Location](fileprovider/nsfileproviderknownfolderlocations/location.md)

### Configuring folder options

- [shouldCreateBinaryCompatibilitySymlink](fileprovider/nsfileproviderknownfolderlocations/shouldcreatebinarycompatibilitysymlink.md)

### Creating a known-folder locations object

- [init()](fileprovider/nsfileproviderknownfolderlocations/init().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Syncing Desktop and Documents folders

- [claimKnownFolders(_:localizedReason:completionHandler:)](fileprovider/nsfileprovidermanager/claimknownfolders(_:localizedreason:completionhandler:).md)
- [releaseKnownFolders(_:localizedReason:completionHandler:)](fileprovider/nsfileprovidermanager/releaseknownfolders(_:localizedreason:completionhandler:).md)
- [NSFileProviderKnownFolders](fileprovider/nsfileproviderknownfolders.md)
- [NSFileProviderKnownFolderSupporting](fileprovider/nsfileproviderknownfoldersupporting.md)
