0PricingLogin
SwiftUI Academy · Lesson

Displaying Text on Screen

Create and style your first Text view.

Meet the Text View

The Text view is how you put words on screen. It is the simplest, most-used view in all of SwiftUI. ✍️

Your First Text

Create a Text view by passing a string in parentheses. SwiftUI shows exactly what you put inside the quotes.

Text("Hello, SwiftUI!")

All lessons in this course

  1. What Is a View?
  2. Displaying Text on Screen
  3. Introducing View Modifiers
  4. Reading the View Hierarchy
← Back to SwiftUI Academy