Using -makeDocumentForURL:nil withContentsOfURL:non-nil was originally designed
around the idea of reopening a document that was autosaved into
~/Library/Autosave Information after crash recovery or via the post-Lion
Restore feature. When such documents are closed without saving, it is desired
On 2014 Feb 08, at 11:43, Trygve Inda cocoa...@xericdesign.com wrote:
However, if I close the window (thus closing the document) and choose to not
save, the file package at fileURL is deleted.
In order to keep a critical document from being deleted in this way, I think
you should save it in
I am reading a document in the format of the old version of my app and
converting it to a new format. The old version is not a document at all but
is a fixed data file in /Application Support/MyApp/
MyDocument *untitledDoc = [[NSDocumentController sharedDocumentController]
makeDocumentForURL:nil
On 2/8/14 8:43 PM, Trygve Inda wrote:
I am reading a document in the format of the old version of my app and
converting it to a new format. The old version is not a document at all but
is a fixed data file in /Application Support/MyApp/
MyDocument *untitledDoc = [[NSDocumentController
On 2/8/14 9:31 PM, Markus Spoettl wrote:
On 2/8/14 8:43 PM, Trygve Inda wrote:
I am reading a document in the format of the old version of my app and
converting it to a new format. The old version is not a document at all but
is a fixed data file in /Application Support/MyApp/
MyDocument