12345678910111213141516171819202122232425262728293031323334 |
- //
- // AppDelegate.swift
- // PDF Office Pro
- //
- // Created by Niehaoyu on 2022/9/23.
- //
- import Cocoa
- import KMAdvertisement
- @main
- class AppDelegate: NSObject, NSApplicationDelegate {
-
- func applicationWillFinishLaunching(_ notification: Notification) {
- ComPDFUIConfig.initializeUIConfig();
- }
-
- func applicationDidFinishLaunching(_ aNotification: Notification) {
- // Insert code here to initialize your application
- }
- func applicationWillTerminate(_ aNotification: Notification) {
- // Insert code here to tear down your application
- }
- func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
- return true
- }
- }
|