Learning SwiftUI through Paul Hudson’s SwiftUI by Example.
This repository contains topic-based notes, code snippets, and experiments.
To build a solid understanding of each SwiftUI concept by:
-
Writing small code samples
-
Summarizing what each modifier or property wrapper does
-
Reflecting on real-world usage
Concepts learned:
-
Styling Text views with fonts, colors, line spacing, and more
-
Adjusting text alignment using the multilineTextAlignment() modifier
-
Letting users select text using the textSelection() modifier
-
Making text in a TextField view either uppercase or lowercase using the textCase() modifier
Concepts learned:
Concepts learned:
Concepts learned:
Concepts learned:
Concepts learned:
Concepts learned:
- Control which view is shown when your app launches
Concepts learned:
Concepts learned:
Concepts learned: