Skip to content

Commit bfeae33

Browse files
committed
Readme updated
1 parent b2281b5 commit bfeae33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ You will need to attach the gesture on the `UIView` you want by calling the clas
2727
```swift
2828
override func viewDidAppear(_ animated: Bool) {
2929
super.viewDidAppear(animated)
30-
GestureRecognizer.install(contactLabel).pressed { (label, recognizer) in // install the tap recognizer
31-
(label as! UILabel).textColor = .red
30+
GestureRecognizer.install(contactLabel).pressed { (label, recognizer) in
31+
label.textColor = .red
3232
}
3333
}
3434
```

0 commit comments

Comments
 (0)