Beginner Series: Swift Tutorial
Any programming language you want to work with requires a set of tools and editing software which combined can be referred to as your software development environment.
What Do You Need to Work With Swift?
In order to work with Swift, you need to have the following:
- A Mac, running the latest version of OS X
- The latest version of Xcode (Apple’s editing tool)
- The latest version of the software development kit you wish to work on (for instance, iOS SDK 9.x)
How to Get Started
To begin, open Xcode, and do the following:
Click File > New > Project
From the template menu, choose the Single View Application option. Click Next and follow the prompts to submit the following details:
- Product Name: Enter the name of your application.
- Organization Name: This would be the name of your development studio.
- Organization Identifier: Formatted as a reverse domain name, so com.apple.
- Language: Swift.
- Devices: iPhone (or choose another if you need to).
- Use Core Data: Leave unchecked.
- Click the Next Button to save the project. Make sure you choose a directory you’ll recognize later.
Xcode will open, and you will be presented with the full development interface. Don’t be alarmed, in time you’ll grow to know almost all of the options available.
Next, we’ll take a look at our Swift 101 segment, comprised of things that absolute beginners should know.
Disclosure of Material Connection: Some of the links in the post above are “affiliate links.” This means if you click on the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.