Type Method


Unregisters the specified file presenter object.


class func removeFilePresenter(_ filePresenter: NSFilePresenter)



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


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software