Returns the shared file manager object for the process.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
NSFile object for the file system.
This method always returns the same file manager object. If you plan to use a delegate with the file manager to receive notifications about the completion of file-based operations, you should create a new instance of
NSFile (using the
init method) rather than using the shared object.