I have a Core Data Document Based 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?
The answer to this question does not involve a coding problem. The default application created by Xcode automatically supports the Resume functionality. What was blocking this from working was the System Preference:
General -> Close windows when quitting an app
This preference was selected and closed the windows of the app upon quitting which naturally means there is nothing to resume when the app relaunches.