Skip to content

Commit 4ebafb0

Browse files
committed
0.10.0
1 parent 37ecea5 commit 4ebafb0

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

UILabel_Typography_Extensions/Menu/MenuViewController.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ class MenuViewController: UIViewController {
6262
.onTouchUpInside { [unowned self] in
6363
self.present(LineHeightViewController(), animated: true)
6464
},
65+
UIButton()
66+
.with(title: "Mockup")
67+
.onTouchUpInside { [unowned self] in
68+
self.present(MockupViewController(), animated: true)
69+
},
6570
UIButton()
6671
.with(title: "Planet")
6772
.onTouchUpInside { [unowned self] in
@@ -85,7 +90,7 @@ class MenuViewController: UIViewController {
8590
override func viewDidAppear(_ animated: Bool) {
8691
super.viewDidAppear(animated)
8792

88-
self.present(PlanetViewController().with {
93+
self.present(MockupViewController().with {
8994
$0.modalPresentationStyle = .fullScreen
9095
}, animated: true)
9196
}

UILabel_Typography_Extensions/Menu/Planet/MockupViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class MockupViewController: UIViewController {
3333
)
3434
.with {
3535
$0.setCustomSpacing(30, after: $0.subviews[3])
36-
$0.setCustomSpacing(30, after: $0.subviews[5])
36+
$0.setCustomSpacing(30, after: $0.subviews[4])
3737
}
3838

3939
lazy var scrollView = UIScrollView()

UILabel_Typography_Extensions/Menu/Planet/Styles.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ extension UILabel {
7171
self
7272
.with {
7373
$0.textColor = UI.Color.label
74-
$0.font = UIFont(name: "HelveticaNeue-Medium", size: 21)
74+
$0.font = UIFont(name: "HelveticaNeue-Bold", size: 21)
7575
$0.numberOfLines = 0
7676
$0.lineHeight = 30
7777
$0.letterSpacing = 21 * 0.10

0 commit comments

Comments
 (0)