• 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: 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


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

  • Prev by Date: Re: QTKit: handle movie playback progress
  • Next by Date: Re: Stateful, "Stickies" like behavior for a document-based app
  • Previous by thread: Stateful, "Stickies" like behavior for a document-based app
  • Next by thread: Re: Stateful, "Stickies" like behavior for a document-based app
  • Index(es):
    • Date
    • Thread