Type Safely

Type Safely

Use .fontDesign To Specify Monospaced or Other Font Design Types

Daily Coding Tip 173

Millie Sturgeon's avatar
Millie Sturgeon
Sep 15, 2022
∙ Paid
Share
letter wood stamp lot
Photo by Amador Loureiro on Unsplash

Tested on Xcode Version 14.1 beta (14B5024h).

There is a new modifier that is only available in iOS 16.1.

There are three cases in the new Font.Design enumeration:

  • `default`

  • serif

  • rounded

  • monospaced

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture