Swift 4 is a new programming language developed by Apple Inc for iOS and OS X development. Swift 4 adopts the best of C and Objective-C, without the constraints of C compatibility. Swift 4 uses the same runtime as the existing Obj-C system on Mac OS and iOS, which enables Swift 4 programs to run on many existing iOS 6 and OS X 10.8 platforms.
Local Environment Setup
Swift 4 provides a Playground platform for learning purpose and we are going to setup the same. You need xCode software to start your Swift 4 coding in Playground. Once you are comfortable with the concepts of Swift 4, you can use xCode IDE for iSO/OS x application development.
To start with, we consider you already have an account at Apple Developer website, and you also have a Mac. Simply open your App Store, and download your copy of Xcode.
Follow the on-screen instructions to install your Xcode.
That’s it! Now that we have our tools ready, let’s proceed to our next tutorials