In this chapter, we'll begin to code our very first app in SwiftUI – exciting, I know, but before we learn to run, we need to walk a little further first. The Xcode IDE will play a fundamental role in our journey, so we'll cover the basics and core components in a little more detail. We'll look at how Xcode allows us to write our SwiftUI code and give us almost immediate feedback. We'll also touch on how and, more importantly, why we may need to use the iOS simulator to run our app in certain scenarios.
The following topics will be covered in this chapter:
- Xcode, as an IDE
- Core components of Xcode
- Mock data in Automatic Preview