Stateful, "Stickies" like behavior for a document-based app
Stateful, "Stickies" like behavior for a document-based app
- Subject: Stateful, "Stickies" like behavior for a document-based app
- From: Shamyl Zakariya <email@hidden>
- Date: Tue, 10 Apr 2007 13:18:50 -0400
I'm writing a simple document-based app which I want to be
"stateful", in the sense that Stickies is, ie, it should
automatically save the contents/window-positions/etc of each open
document when it's quit, and should reload them when it's restarted.
I've already got the saving implemented via my application delegate,
and it works.
My question is, how do I change the default document-based app
behavior which opens an empty document when the app is started?
Basically, I want to override that to read back the saved documents
and open only them; if there are no saved documents, it should just
create a new, empty document.
I don't know where this default behavior is implemented, so I don't
know how to override it!
Thanks,
email@hidden
"It's all malarky; even the wonderful part is malarky"
--Robert Stack
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden