KMBackgroundWindowController.swift 574 B

12345678910111213141516171819202122
  1. //
  2. // KMBackgroundWindowController.swift
  3. // PDF Master
  4. //
  5. // Created by lizhe on 2023/11/14.
  6. //
  7. import Cocoa
  8. class KMBackgroundWindowController: KMBaseWindowController {
  9. @IBOutlet weak var addBackgroundView: KMAddBackgroundView!
  10. override func windowDidLoad() {
  11. super.windowDidLoad()
  12. // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
  13. addBackgroundView.cancelAction = { [unowned self] view in
  14. cancelAction?(self)
  15. }
  16. }
  17. }