Class

NSFileAccessIntent

The details of a coordinated-read or coordinated-write operation.

Declaration

@interface NSFileAccessIntent : NSObject

Overview

Use this class when performing asynchronous operations with a file coordinator using the coordinator’s coordinateAccessWithIntents:queue:byAccessor: method.

Topics

Creating a File Access Intent

+ readingIntentWithURL:options:

Returns a file access intent object for reading the given URL with the provided options.

+ writingIntentWithURL:options:

Returns a file access intent object for writing to the given URL with the provided options.

Accessing the Current URL

URL

The current URL for the item managed by the file access intent instance. (read-only)

Relationships

Inherits From

See Also

Shared Files

NSFilePresenter

The interface a file coordinator uses to inform an object presenting a file about changes to that file made elsewhere in the system.

NSFileCoordinator

An object that coordinates the reading and writing of files and directories among file presenters.