1234567891011121314151617181920212223242526 |
- //
- // KMToolbarItemPopViewController.swift
- // Cisdem PDFMaster
- //
- // Created by liujiajie on 2023/11/10.
- //
- import Cocoa
- class KMToolbarItemPopViewController: NSViewController{
- @IBOutlet var toolbarHelpTipLabel: NSTextField!
-
- convenience init() {
- self.init(nibName: "KMToolbarItemPopViewController", bundle: nil)
-
- }
-
- @objc func updateWithHelpTip(helpTip: String) {
- self.toolbarHelpTipLabel.stringValue = helpTip.count > 0 ? helpTip : ""
- }
-
- override func viewDidLoad() {
- super.viewDidLoad()
- self.toolbarHelpTipLabel.textColor = .labelColor
- }
- }
|