Skip to content

Commit 9a1baef

Browse files
committed
0.13.0
1 parent 494b95a commit 9a1baef

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

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.12.0
7+
* 0.12.0 - 0.13.0
88

99
+ Update `README.md`
1010

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ headerLabel.lineHeight = 80
1010
headerLabel.letterSpacing = 100 * -0.02
1111
```
1212

13-
<p align="center"><img src="UILabel_Typography_Extensions/Documentation/UlLabel_Line_Height_Letter_Spacing_Extension.png" width="900"></p>
13+
<p align="center"><img src="Documentation/UlLabel_Line_Height_Letter_Spacing_Extension.png" width="900"></p>
1414

1515
See the complementary article at [**UILabel line height, letter spacing and more** UILabel typography extensions].
1616

17-
<p align="center"><img src="UILabel_Typography_Extensions/Documentation/UILabel_Line_Height_Simulator_Figma_Overlay.png" width="900"></p>
17+
<p align="center"><img src="Documentation/UILabel_Line_Height_Simulator_Figma_Overlay.png" width="900"></p>
1818

1919
## How it works
2020

2121
It is an extension on `UILabel` that adds some typographic properties using [**Objective-C Runtime**] (for stored properties on a Swift extension), [`NSAttributedString`] (for manage typographic properties), and [`NSKeyValueObservation`] (to be able to use the regular `text` property to manage text content).
2222

23-
<p align="center"><img src="UILabel_Typography_Extensions/Documentation/UILabel_Line_Height_NSAttributedString_BaselineOffset.png" width="900"></p>
23+
<p align="center"><img src="Documentation/UILabel_Line_Height_NSAttributedString_BaselineOffset.png" width="900"></p>
2424

2525
It also takes care of `baselineOffset` values to keep the text content in the vertical center (right). By default, :NSAttributedString: sticks multiline label content to the top of the container view (left), which makes it hard to
2626
match the UI with the design specifications.
2727

28-
<p align="center"><img src="UILabel_Typography_Extensions/Documentation/UILabel_Line_Height_Xcode_Figma.png" width="900"></p>
28+
<p align="center"><img src="Documentation/UILabel_Line_Height_Xcode_Figma.png" width="900"></p>
2929

3030
Using this extension you can build screens that 100% match design specifications. More on that in the article at [**UILabel line height, letter spacing and more** UILabel typography extensions].
3131

0 commit comments

Comments
 (0)