Abhishek
5 years ago
11 changed files with 78 additions and 44 deletions
@ -0,0 +1,22 @@
|
||||
// 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() { |
||||
appLabel.stringValue = NSLocalizedString("CFBundleDisplayName", |
||||
comment: "App Name") |
||||
accessoryLabel.stringValue = NSLocalizedString("It only takes 3 steps to set up Clocker.", |
||||
comment: "App Setup Description") |
||||
|
||||
[appLabel, accessoryLabel].forEach { $0?.textColor = Themer.shared().mainTextColor() } |
||||
} |
||||
} |
@ -1,20 +0,0 @@
|
||||
// Copyright © 2015 Abhishek Banthia |
||||
|
||||
import Cocoa |
||||
|
||||
class WelcomeViewController: NSViewController { |
||||
@IBOutlet var appLabel: NSTextField! |
||||
@IBOutlet var accessoryLabel: NSTextField! |
||||
|
||||
override func viewDidLoad() { |
||||
super.viewDidLoad() |
||||
setup() |
||||
} |
||||
|
||||
private func setup() { |
||||
appLabel.stringValue = "Clocker" |
||||
accessoryLabel.stringValue = "It only takes 3 steps to set up Clocker." |
||||
|
||||
[appLabel, accessoryLabel].forEach { $0?.textColor = Themer.shared().mainTextColor() } |
||||
} |
||||
} |
Loading…
Reference in new issue