---
title: allowsTrashing
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileprovideritemcapabilities/allowstrashing
---

# allowsTrashing

A value indicating that the item can be moved to the trash.

## Declaration

```swift
static var allowsTrashing: NSFileProviderItemCapabilities { get }
```

## Mentioned in

Handling Errors with User-Driven Actions

## See Also

### 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)
- [allowsWriting](fileprovider/nsfileprovideritemcapabilities/allowswriting.md)
- [allowsExcludingFromSync](fileprovider/nsfileprovideritemcapabilities/allowsexcludingfromsync.md)
- [allowsAll](fileprovider/nsfileprovideritemcapabilities/allowsall.md)
