AppDelegate.swift 693 B

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