SwiftUI – Bold Text
To make the text bold in Text view, call bold() method on this Text view. bold() method applies a bold font weight to the text in this Text view.
Example
In the following example, we created a Text view, and called bold() method on the Text view.
ContentView.swift
import SwiftUI
struct ContentView: View {
var body: some View {
Text("Hello, world!")
.bold()
}
}
Screenshot

Summary
Summarising this SwiftUI Tutorial, we learned how to apply bold font weight to the text in Text view.