AppDelegate.swift 557 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // AppDelegate.swift
  3. // ProcessCheckFile
  4. //
  5. // Created by 朱东勇 on 2022/11/17.
  6. //
  7. import Cocoa
  8. @main
  9. class AppDelegate: NSObject, NSApplicationDelegate {
  10. func applicationDidFinishLaunching(_ aNotification: Notification) {
  11. // Insert code here to initialize your application
  12. }
  13. func applicationWillTerminate(_ aNotification: Notification) {
  14. // Insert code here to tear down your application
  15. }
  16. func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
  17. return true
  18. }
  19. }