Type Method

removeFilePresenter(_:)

Unregisters the specified file presenter object.

Declaration

class func removeFilePresenter(_ filePresenter: NSFilePresenter)

Parameters

filePresenter

The file presenter object to unregister. If the object is not currently registered, this method does nothing.

Discussion

Call this method to unregister file presenters before those objects are deallocated, even in a garbage-collected application.

See Also

Managing File Presenters

class func addFilePresenter(NSFilePresenter)

Registers the specified file presenter object so that it can receive notifications.

class var filePresenters: [NSFilePresenter]

Returns an array containing the currently registered file presenter objects.

var purposeIdentifier: String

A string that uniquely identifies the file access that was performed by this file coordinator.