Q: Is there a way to get a unique NSDocument identifier in a Document-based ™ application that is saved during application restart?
Note1: there should definitely be some kind of identifier, which is not just fileURL , but something else, because the application works well with autosave and not even saved documents.
Note2: for some reason, I do not want to generate and save this identifier for the content document.
source
share