Structure

NSFileProviderItemCapabilities

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

Declaration

struct NSFileProviderItemCapabilities

Topics

Initializers

init(rawValue: UInt)

Returns a newly created item capabilities value.

Constants

static var allowsAddingSubItems: NSFileProviderItemCapabilities

A value indicating that the user can add subitems.

static var allowsContentEnumerating: NSFileProviderItemCapabilities

A value indicating that the item's contents can be enumerated.

static var allowsDeleting: NSFileProviderItemCapabilities

A value indicating that the item can be deleted.

static var allowsReading: NSFileProviderItemCapabilities

A value indicating that the value can be read from.

static var allowsRenaming: NSFileProviderItemCapabilities

A value indicating that the item can be renamed.

static var allowsReparenting: NSFileProviderItemCapabilities

A value indicating that the item can be moved.

static var allowsTrashing: NSFileProviderItemCapabilities

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

static var allowsWriting: NSFileProviderItemCapabilities

A value indicating that the item can be written to.

static var allowsAll: NSFileProviderItemCapabilities

A convenience value for enabling all capabilities.

Relationships

Conforms To

See Also

Provided Items

typealias NSFileProviderItem

An item managed by the File Provider extension.

protocol NSFileProviderItemProtocol

A protocol that defines the properties of an item managed by the File Provider extension.

struct NSFileProviderItemIdentifier

A unique identifier for an item managed by the File Provider extension.