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

New Playgrounds

Xcode 6.3 beta 2 includes significant improvements to Swift playgrounds, with great features for authors. It’s now even easier to create rich, interactive playgrounds — perfect for documentation...

The as! Operator

Prior to Swift 1.2, the as operator could be used to carry out two different kinds of conversion, depending on the type of expression being converted and the...

Swift 1.2 and Xcode 6.3 beta

Today Swift 1.2 was released as part of Xcode 6.3 beta. This beta release includes a significantly enhanced Swift compiler, as well as new features in the...

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.