AppDelegate.swift 670 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // AppDelegate.swift
  3. // PDF Office DMG
  4. //
  5. // Created by Niehaoyu on 2022/9/23.
  6. //
  7. import Cocoa
  8. @main
  9. class AppDelegate: NSObject, NSApplicationDelegate {
  10. func applicationWillFinishLaunching(_ notification: Notification) {
  11. ComPDFUIConfig.initializeUIConfig();
  12. }
  13. func applicationDidFinishLaunching(_ aNotification: Notification) {
  14. // Insert code here to initialize your application
  15. }
  16. func applicationWillTerminate(_ aNotification: Notification) {
  17. // Insert code here to tear down your application
  18. }
  19. func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
  20. return true
  21. }
  22. }