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: Shamyl Zakariya <email@hidden>
- Date: Tue, 10 Apr 2007 13:41:34 -0400
Thanks, somehow I missed that in the document-based app faq!
http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/
Tasks/FAQ.html#//apple_ref/doc/uid/20000954
email@hidden
lorem ipsum dolor sit amet,
On Apr 10, 2007, at 1:26 PM, Sherm Pendley wrote:
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