Protocol

NSFileProviderEnumerationObserver

An observer that receives batches of items during enumeration.

Declaration

protocol NSFileProviderEnumerationObserver

Topics

Observing Item Enumeration

func didEnumerate([NSFileProviderItemProtocol])

Provides a batch of enumerated items.

Required.

func finishEnumerating(upTo: NSFileProviderPage?)

Tells the observer that all of the items have been enumerated up to the specified page.

Required.

func finishEnumeratingWithError(Error)

Tells the observer that an error occurred during item enumeration.

Required.

Relationships

Inherits From

See Also

Content

Defining Your File Provider's Content

Create enumerators to specify your file provider's content.

struct NSFileProviderPage

A synchronization point that represents the next batch of items to be returned by an enumerator.