You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
723 B

// Copyright © 2015 Abhishek Banthia
import Cocoa
class OnboardingWelcomeViewController: NSViewController {
@IBOutlet var appLabel: NSTextField!
@IBOutlet var accessoryLabel: NSTextField!
override func viewDidLoad() {
super.viewDidLoad()
setup()
}
private func setup() {
5 years ago
appLabel.stringValue = Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String ?? "Clocker"
accessoryLabel.stringValue = NSLocalizedString("It only takes 3 steps to set up Clocker.",
comment: "App Setup Description")
[appLabel, accessoryLabel].forEach { $0?.textColor = Themer.shared().mainTextColor() }
}
}