As we mentioned in the previous section, the Automatic Preview window is a brand new feature for Xcode 11 and macOS Catalina. It allows you to view your UI changes without the need to launch the simulator and reload the application. In this section, we'll take a look at how we can mock data that we will inject into our View in order to preview our UI changes with simulated content, but, more importantly, we'll cover why this is important.
Mock data in Automatic Preview
Understanding Automatic Preview
Automatic Preview will no doubt play a big role as you venture into the world of SwiftUI as you'll be able to create your content with the ease and beauty of SwiftUI's declarative syntax and the ability to...