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.

Get started

Code

See the real world examples of the Swift source code. Named parameters, inferred types, closures, first class functions, tuples, generics, protocols. All you need to start playing is the latest Xcode 6 beta.

Sample code

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

Swift Has Reached 1.0

On June 2, 2014 at WWDC, the Swift team finally showed you what we had been working on for years. That was a big day with lots of excitement...

Patterns Playground

In Swift, a pattern is a way to describe and match a set of values based on certain rules, such as: All tuples whose first value is 0 All...

Optionals Case Study: valuesForKeys

This post explores how optionals help preserve strong type safety within Swift. We’re going to create a Swift version of an Objective-C API. Swift doesn’t really...

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.