Designing a great UI may not be your task. Developing the UI design in SwiftUI code likely is since you’re reading this book. If you’ve done it in the past with Interface Builder or even in code, you likely used Preview for your Storyboard. It shows you how the UI will look on a variety of devices.
However, you more likely ran the app in the simulator or on a device to have both real data and interaction. Of course, that takes more time: compiling, installing, running, and navigating. Then make a change to the UI or code and repeat.
The Canvas Preview allows you to see the UI right alongside ...