Platforms to show: All Mac Windows Linux Cross-Platform

NSFilePresenterMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class iCloud MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The plugin class to implement the NSFilePresenter protocol.

A protocol to be implemented by objects that present the contents of files or directories to the user for viewing or editing. The objects can take an active role in operations that access those files or directories, even operations performed by other processes in the system. For an NSFilePresenter to be aware of such file access it must be "coordinated" file access. Starting in version 10.7 many components of Mac OS X use NSFileCoordinatorMBS, including AppKit, Finder, and various applications. NSDocument conforms to the NSFilePresenter protocol and has useful implementations of all of its methods. You are unlikely to have to implement NSFilePresenter yourself in an NSDocument-based application.

See the comments for NSFileCoordinator.Constructor for information about how an NSFilePresenter can avoid receiving messages about its own reading and writing.

You can consider "item" in method names in this header file to be an abbreviation of "fileOrDirectory." As always, a directory might actually be a file package.

Please also check the documentation from Apple for the NSFilePresenter protocol.

This class has no sub classes.

Some methods using this class:

Blog Entries


The items on this page are in the following plugins: MBS MacCloud Plugin.


NSFilePresenterHandlerMBS   -   NSFileVersionMBS


The biggest plugin in space...