Introduction 1
Part 1: Getting Started with Swift and SwiftUI 5
Chapter 1: Introducing SwiftUI 7
Chapter 2: Basics of the Swift Programming Language 25
Part 2: Understanding the Basics of SwiftUI 61
Chapter 3: Getting Started with the Basics of SwiftUI 63
Chapter 4: Handling User Inputs and Custom Views 87
Chapter 5: Displaying Lists of Items 113
Chapter 6: Creating Navigation and Tabbed Applications 143
Chapter 7: Formatting Your User Interface 173
Part 3: Exploring with SwiftUI in More Detail 205
Chapter 8: Understanding State Management in SwiftUI 207
Chapter 9: Using Legacy UIKit Views and View Controllers in SwiftUI 235
Part 4: Performing Animations and Drawings 263
Chapter 10: Drawings and Special Effects 265
Chapter 11: Performing Animations in SwiftUI 299
Chapter 12: Creating a Complete Project 323
Part 5: The Part of Tens 351
Chapter 13: Ten SwiftUI Tips and Tricks 353
Chapter 14: Ten Great SwiftUI Resources 375
Appendix: Code Snippets for Common SwiftUI Views 379
Index 387
Wei-Meng Lee (Singapore) is founder of Developer Learning Solutions, a firm specializing in hands-on training for software developers. He teaches courses in mobile development, blockchain, machine learning, and AI. He is author of a number of books, including Beginning Swift Programming (Wiley).