Swift Tutorials

Swift Tutorials: Let's conquer this language together!

What is Swift?

Swift is Apple's new programming language that was unveiled on June 2nd, 2014 at the Worldwide Developers Conference (WWDC). The announcement came as a huge surprise to iOS Developers, but many have already embraced the language as a powerful new tool to begin incorporating alongside the long-standing Objective-C language.

Swift is built on a solid base of Foundation & Cocoa, and is meant to work side-by-side with Objective-C and C code. It's reminiscent of compiled languages with the added elegance of scripting languages like Python or Ruby, without sacrificing efficiency. The following tutorials provide a quick look at Swift and how it's integrated in Xcode 6 targeted for iOS 8.

Swift Tutorial: Hello World

A hello world tutorial for Apple's new programming language, Swift.

Swift Tutorial: Buttons and Actions

A quick look at IBAction and IBOutlet in Xcode 6 Beta.

Playground Tutorial: Overview

Playground is Apple's new Interactive Environment nested within Xcode - a great tool for running snippets of code without having to compile an entire project. Playground provides real-time feedback via the Value History toolbar, and graphical displays with Quick Look.

Xcode 6 Tutorial: Universal Storyboard

In Xcode 6 Beta, Apple introduced Universal Storyboard - a single storyboard used to target multiple devices. This is a great enhancement to Interface Builder, because it enables developers to quickly build out views for multiple platforms in one concise space, rather than having multiple storyboard files connected to separate views in Xcode 5.

Playground Tutorial: Colors in Swift

Learn how to build labels and set custom colors in Swift, with Apple's new Interactive Environment, Playground. 

Swift Tutorial: Switches

Learn how to implement switches in Swift (on/off toggle buttons for Settings).