Table of Contents
Preface
Chapter 1: SwiftUI Basics
Technical requirements
Views and controls
Text3
TextField5
SecureField8
Image9
Modifying an image10
Buttons13
Shapes
Circle16
Rectangle17
Ellipse18
Capsule19
Rounded Rectangle20
View layout and presentation
VStack21
VStack with a spacer22
HStack24
HStack with spacer25
ZStack27
Group32
ForEach33
List35
ScrollView36
Summary
Chapter 2: SwiftUI Watch Tour
Technical requirements
Getting started
Building out our navigation
Creating a static list41
Creating a chart Page-View navigation
Creating a SwiftUI watch list
Using Swift previews
Charts
Bar charts48
Activity Ring57
Creating our wedge59
Summary
Chapter 3: NBA Draft – Watch App
Technical requirements
Building our watch UI
Walking through the design ...
Get SwiftUI Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.