Before You Start
Mac
Required for iOS/macOS development
Xcode
Apple's IDE (free from App Store)
Get It Running
Recommended
Xcode Setup
Create a SwiftUI project in Xcode.
These instructions work the same on Mac and Windows.
First, open your Terminal:
⌘
+
Space
→
type "Terminal"
→
press Enter
1
Install Xcode from the Mac App Store
2
Open Xcode and click "Create a new Xcode project"
3
Select "App" under iOS or macOS
4
Choose SwiftUI for the interface
5
Name your project and choose a location
6
Click the Play button to run in the simulator