• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stateful, "Stickies" like behavior for a document-based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Stateful, "Stickies" like behavior for a document-based app (From: Shamyl Zakariya <email@hidden>)
 >Re: Stateful, "Stickies" like behavior for a document-based app (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Stateful, "Stickies" like behavior for a document-based app
  • Next by Date: Re: Multi windows in Document-based app, but 1 Nib
  • Previous by thread: Re: Stateful, "Stickies" like behavior for a document-based app
  • Next by thread: Run loops and timers
  • Index(es):
    • Date
    • Thread