• 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
Automatically restore last saved document on application launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatically restore last saved document on application launch


  • Subject: Automatically restore last saved document on application launch
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 10 Mar 2016 20:05:27 -0500

I have a Core Data Document Based OS X application written in swift and using storyboards. Whenever I build and launch the app, instead of automatically opening the last opened document(s), it will create a new document. What I want to be able to do is have the application automatically restore whatever documents were last opened on application launch, if they are available. How can I do this?

Does Apple have any sample code demonstrating this? Are there any WWDC videos covering this topic for a Core Data Document Based application?

I have a sample github project for this question at:

https://github.com/ericgorr/last_saved.git <https://github.com/ericgorr/last_saved.git>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Automatically restore last saved document on application launch
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Move views relative to other view with Autolayout
  • Next by Date: Re: Automatically restore last saved document on application launch
  • Previous by thread: Re: Move views relative to other view with Autolayout
  • Next by thread: Re: Automatically restore last saved document on application launch
  • Index(es):
    • Date
    • Thread