Skip to content

Commit f0c702c

Browse files
author
Stefan van den Oord
committedFeb 8, 2019
Updates all targets to Swift 4.2
1 parent 30e6ccc commit f0c702c

File tree

10 files changed

+138
-96
lines changed

10 files changed

+138
-96
lines changed
 

‎Demo tvOS/ViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ViewController: UIViewController {
1111
@IBOutlet weak var label4: UILabel!
1212

1313
override func viewWillAppear(_ animated: Bool) {
14-
let text1 = "This is some text".fontSize(27).color(.blue).strikeThrough(style: .styleDouble)
14+
let text1 = "This is some text".fontSize(27).color(.blue).strikeThrough(style: .double)
1515
let text2 = "This is some text".fontSize(27).color(.red).obliqueness(0.5).expansion(0.5)
1616
let text3 = text1 + text2.color(.red)
1717
let text4 = loremIpsum.paragraphStyle {

‎Demo watchOS Extension/InterfaceController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class InterfaceController: WKInterfaceController {
1313
override func awake(withContext context: Any?) {
1414
super.awake(withContext: context)
1515

16-
let text1 = "This is some text".fontSize(17).color(.blue).strikeThrough(style: .styleDouble)
16+
let text1 = "This is some text".fontSize(17).color(.blue).strikeThrough(style: .double)
1717
let text2 = "This is some text".fontSize(17).color(.red).obliqueness(0.5).expansion(0.5)
1818
let text3 = text1 + text2.color(.red)
1919

‎Demo_iOS/ViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ViewController: UIViewController {
1111
@IBOutlet weak var label4: UILabel!
1212

1313
override func viewWillAppear(_ animated: Bool) {
14-
let text1 = "This is some text".fontSize(17).color(.blue).strikeThrough(style: .styleDouble)
14+
let text1 = "This is some text".fontSize(17).color(.blue).strikeThrough(style: .double)
1515
let text2 = "This is some text".fontSize(17).color(.red).obliqueness(0.5).expansion(0.5)
1616
let text3 = text1 + text2.color(.red)
1717
let text4 = loremIpsum.paragraphStyle {

‎Demo_macOS/ViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ViewController: NSViewController {
1111
override func viewWillAppear() {
1212
super.viewWillAppear()
1313
if let text1 = "This is some text"
14-
.fontSize(17)?.color(.blue).strikeThrough(style: .styleDouble) {
14+
.fontSize(17)?.color(.blue).strikeThrough(style: .double) {
1515
label1.attributedStringValue = text1
1616
}
1717

‎Pods/Pods.xcodeproj/project.pbxproj

+32-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.