Swift Logo by Apple

Swift Language

Swift is a brand new programming language for iOS and OS X app development, crafted by Apple.

Learn

Swift is an innovative programming language for Cocoa and Cocoa Touch frameworks. It combines the best of Objective-C with a very concise syntax. Based on LLVM, Swift can run side-by-side with existing Objective-C code.

Cheat sheet

Code

Run the samples of the Swift source code online. Named parameters, inferred types, closures, first class functions, tuples, generics, protocols. All you need to start playing is the web browser.

Playground New!

Discuss

Do you have any questions? Ask other developers on our forum. Find the best solutions for Swift programming. Write you thoughts and source code. Become one of Swift experts and share your knowledge.

Community

Blog

Introduction to the Swift REPL

Xcode 6.1 introduces yet another way to experiment with Swift in the form of an interactive Read Eval Print Loop, or REPL. Developers familiar with interpreted languages will...

Failable Initializers

Swift version 1.1 is new in Xcode 6.1 , and it introduces a new feature: failable initializers. Initialization is the process of providing initial values to each of...

Building Your First Swift App Video

UPDATE: To make it easier to follow along, we’ve included the code you see pasted in the video. So far the Swift blog has focused on advanced programming...

Book

Read the official Swift Programming Language Book by Apple, containing a complete guide and a language reference, in one of five formats.

Video

Resources

Here are some links to tutorials, articles and other resources. If you find something interesting, please add it to our community.