KMProgressWindowController.swift 623 B

12345678910111213141516171819202122232425262728
  1. //
  2. // KMProgressWindowController.swift
  3. // PDF Reader Pro
  4. //
  5. // Created by tangchao on 2023/12/12.
  6. //
  7. import Cocoa
  8. class KMProgressWindowController: NSWindowController {
  9. @IBOutlet weak var titleLabel: NSTextField!
  10. @IBOutlet weak var extractProgress: NSProgressIndicator!
  11. var pageCount: Int = 0
  12. convenience init() {
  13. self.init(windowNibName: "KMProgressWindowController")
  14. }
  15. override func windowDidLoad() {
  16. super.windowDidLoad()
  17. self.titleLabel.stringValue = KMLocalizedString("Processing...", nil)
  18. self.extractProgress.doubleValue = 1
  19. }
  20. }