NSDistributed object to use as the lock the file-system entry specified by a given path.
- macOS 10.0+
aup to the last component itself must exist. You can use
NSFileto create (and set permissions) for any nonexistent intermediate directories.
NSDistributed object initialized to use as the locking object the file-system entry specified by
For applications to use the lock,
a must be accessible to—and writable by—all hosts on which the applications might be running.