Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasmusson authored Oct 18, 2020
1 parent f81a3bf commit 5becf89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions basics/DynamicFont/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ViewController: UIViewController {
stackView.trailingAnchor.constraint(equalTo: view.trailingAnchor).isActive = true
stackView.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -200).isActive = true

let largeTitle = makeLabel("Large Title", UIFont.preferredFont(forTextStyle: .largeTitle))
let title1 = makeLabel("Title1", UIFont.preferredFont(forTextStyle: .title1))
let title2 = makeLabel("Title2", UIFont.preferredFont(forTextStyle: .title2))
let title3 = makeLabel("Title3", UIFont.preferredFont(forTextStyle: .title3))
Expand Down

0 comments on commit 5becf89

Please sign in to comment.