Re-open last saved document
Re-open last saved document
- Subject: Re-open last saved document
- From: Beat Koch <email@hidden>
- Date: Mon, 26 Aug 2002 10:52:59 +0200
When my multi-document application starts running, I want it to open
the most receent document saved by the user. I have created a
corresponding entry in the user defaults database and I am able to read
this entry and open the relevant file on application startup.
What I need help with is how to _save_ the name of the most recently
saved file. Writing to the defaults database is not the problem, but
how do I know that the user just saved a document? And where can I get
the file name (or whatever information is needed to successfully
re-open a document) of that document? Is there some notification or
delegate method call by NSDocumentController?
-- Beat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.