---
title: NSFileProviderItemCapabilities
framework: fileprovider
role: symbol
role_heading: Structure
path: fileprovider/nsfileprovideritemcapabilities
---

# NSFileProviderItemCapabilities

An item’s capabilities, which define the actions that the user can perform in the document browser.

## Declaration

```swift
struct NSFileProviderItemCapabilities
```

## Mentioned in

Exporting file provider metrics data

## Topics

### Initializers

- [init(rawValue:)](fileprovider/nsfileprovideritemcapabilities/init(rawvalue:).md)

### Constants

- [allowsAddingSubItems](fileprovider/nsfileprovideritemcapabilities/allowsaddingsubitems.md)
- [allowsContentEnumerating](fileprovider/nsfileprovideritemcapabilities/allowscontentenumerating.md)
- [allowsDeleting](fileprovider/nsfileprovideritemcapabilities/allowsdeleting.md)
- [allowsEvicting](fileprovider/nsfileprovideritemcapabilities/allowsevicting.md)
- [allowsReading](fileprovider/nsfileprovideritemcapabilities/allowsreading.md)
- [allowsRenaming](fileprovider/nsfileprovideritemcapabilities/allowsrenaming.md)
- [allowsReparenting](fileprovider/nsfileprovideritemcapabilities/allowsreparenting.md)
- [allowsTrashing](fileprovider/nsfileprovideritemcapabilities/allowstrashing.md)
- [allowsWriting](fileprovider/nsfileprovideritemcapabilities/allowswriting.md)
- [allowsExcludingFromSync](fileprovider/nsfileprovideritemcapabilities/allowsexcludingfromsync.md)
- [allowsAll](fileprovider/nsfileprovideritemcapabilities/allowsall.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

### Provided items

- [NSFileProviderItem](fileprovider/nsfileprovideritem-swift.typealias.md)
- [NSFileProviderItemProtocol](fileprovider/nsfileprovideritemprotocol.md)
- [NSFileProviderItemIdentifier](fileprovider/nsfileprovideritemidentifier.md)
- [NSFileProviderTypeAndCreator](fileprovider/nsfileprovidertypeandcreator.md)
