Re: Stateful, "Stickies" like behavior for a document-based app
Re: Stateful, "Stickies" like behavior for a document-based app
- Subject: Re: Stateful, "Stickies" like behavior for a document-based app
- From: Sherm Pendley <email@hidden>
- Date: Tue, 10 Apr 2007 13:26:43 -0400
On Apr 10, 2007, at 1:18 PM, Shamyl Zakariya wrote:
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.
Implement -applicationShouldOpenUntitledFile: in your app delegate.
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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