swift - Automatically restore last saved document on application launch -
i have core data document based application written in swift , using storyboards. whenever build , launch app, instead of automatically opening last opened document(s), create new document. want able have application automatically restore whatever documents last opened on application launch, if available. how can this?
os x has feature called resume. want. way allow user decide wether open new documents or open existing ones on launch.
you can find starting point here. use find command locate resume part. found example here.
Comments
Post a Comment