Skip to content

Commit adbffbf

Browse files
committed
0.17.0
1 parent 18ca56e commit adbffbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
+ (May) lookup baseline reset issue with overflowing text
66

7-
* 0.16.0
7+
* 0.16.0 - 0.17.0
88

99
+ Update README.md
1010

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Set `UILabel` line height, letter spacing (and more).
33

44
```Swift
55
let headerLabel = UILabel()
6-
headerLabel.text = "Mars"
7-
headerLabel.textColor = label
6+
headerLabel.textColor = UIColor(named: "Mars")
87
headerLabel.font = UIFont(name: "HelveticaNeue-CondensedBlack", size: 100)
98
headerLabel.lineHeight = 80
109
headerLabel.letterSpacing = 100 * -0.02
10+
headerLabel.text = "Mars"
1111
```
1212

1313
<p align="center"><img src="Documentation/UlLabel_Line_Height_Letter_Spacing_Extension_UIKit.png" width="900"></p>

0 commit comments

Comments
 (0)