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
- What Is a View?
- Displaying Text on Screen
- Introducing View Modifiers
- Reading the View Hierarchy