A Boolean value that specifies whether the system can delete the associated file at some future time.
- macOS 10.7+
Marking a file version as discardable gives the system the flexibility to reclaim the space, occupied by the associated file, at some future time. Do not, however, depend on the file being discarded.
After setting this property to
YES, do not set this property to
NO again. Doing so causes the system to raise an exception. In addition, if you set this property to
YES for the version of the file returned by the
current method, the system raises an exception.