Browse Source

Automatically save upon exiting application

master
Matt Baer 5 years ago
parent
commit
b20efa1f03
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      writeas/AppDelegate.swift

+ 1
- 1
writeas/AppDelegate.swift View File

@@ -23,7 +23,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}

func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
vc?.saveDocument()
}
func applicationDidBecomeActive(_ notification: Notification) {


Loading…
Cancel
Save