Tagged: Text

There are 11 items tagged #Text.
And there a lots of other tags to explore.

Apply Small Caps for unsupported language in SwiftUI

You might want to use small caps to make your UI more interesting, but not all languages and typography support small caps. Let's learn how to solve this in iOS 17.

Easy way to Format Date in SwiftUI Text

Since iOS 14, SwiftUI Text has had many initializers dedicated to presenting dates. Let's explore all of them.

How to make parts of Text view Bold in SwiftUI

Learn how to style some parts of SwiftUI Text view.

SF Font Expanded, Condensed, and Compressed: Three New font width styles in iOS 16

In iOS 16, Apple introduces three new width styles to the SF font family. Let's see what they look like and how to use them.

How to use UIFont in SwiftUI Font

Learn how to convert UIKit UIFont to SwiftUI Font.

New way to control number of lines of SwiftUI Text in iOS 16

In iOS 16, we got a big improvement over lineLimit modifiers. Let's see what we can do with it.

How to create multiline TextField in SwiftUI

In iOS 16, we can create a multiple text field with new initializers and a little help from the .lineLimit(_:) modifier.

How to style SwiftUI text Font

Learn how to set font size, design, weight, and color in SwiftUI.

How to change SwiftUI font size

There are two ways to set a font size for Text view in SwiftUI. Let's see what they are and how to set them.

How to force two lines of Text in SwiftUI

We have no way to set the minimum lines of Text in SwiftUI, but you can have that with this bit of hack.

How to render text with a color gradient in SwiftUI

Learn how to apply gradient colors to a SwiftUI text view.

See all tags.