• 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
Stateful, "Stickies" like behavior for a document-based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Stateful, "Stickies" like behavior for a document-based app
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Access Core Data from Multiple Apps?
  • Next by Date: Re: QTKit: handle movie playback progress
  • Previous by thread: Re: elegant sheet cascade handling?
  • Next by thread: Re: Stateful, "Stickies" like behavior for a document-based app
  • Index(es):
    • Date
    • Thread