Convert to Swift 4.2

This commit is contained in:
Damiano Galassi committed 2018-06-07 11:30:39 +02:00
1 parent c5305ad90e
commit 5b4600b9dd
30 files changed
+66 -66

No files matched your search

+3 -3
View File
@@ -34,7 +34,7 @@ import MP42Foundation
private var recentDestinations: [URL]
override var nibName: NSNib.Name? {
return NSNib.Name(rawValue: "QueueOptions")
return "QueueOptions"
}
@objc init(options: QueuePreferences) {
@@ -70,8 +70,8 @@ import MP42Foundation
for subview in view.subviews {
if let button = subview as? NSButton {
button.attributedTitle = NSAttributedString(string: button.title,
attributes: [NSAttributedStringKey.foregroundColor: NSColor.labelColor,
NSAttributedStringKey.font: NSFont.labelFont(ofSize: 11)])
attributes: [NSAttributedString.Key.foregroundColor: NSColor.labelColor,
NSAttributedString.Key.font: NSFont.labelFont(ofSize: 11)])
}
}