Getting to Know Xcode 8
To write programs in Swift for the Macintosh, you need to use Xcode. Apple developed Xcode as a professional programming tool that they give away free to encourage everyone to write software for macOS and their other operating systems such as iOS, tvOS, and watchOS. Despite being a free program, Xcode is a powerful program used by major companies including Microsoft, Adobe, Google, and even Apple. With Xcode on a Macintosh, you have one of the most powerful programming tools for creating macOS programs and iOS, tvOS, and watchOS apps.