Welcome to Swift

Swift is a new object-oriented programming language for iOS and OS X development. Swift is modern, powerful, and easy to use.

  • let people = ["Anna": 67, "Beto": 8, "Jack": 33, "Sam": 25]
  • for (name, age) in people {
  • println("(name) is (age) years old.")
  • }

 


The Swift Programming Language

The complete guide and reference to the Swift programming language.

  • Take an interactive tour of language features that make app development easier, faster, and more reliable.

  • Learn Swift concepts, principles, and syntax through comprehensive descriptions and code examples.

  • Dive into the details of the language with a thorough discussion of its behavior, syntax, and grammar.

Using Swift with Cocoa and Objective-C

Tools and strategies for integrating Swift into the Cocoa app development process.

  • Learn how to interact with Cocoa frameworks in a Swift environment.

  • Take advantage of Swift language features to build on Objective-C APIs, and improve the way you write Cocoa apps.

  • Create a mixed-language app using Swift and Objective-C.

  • Explore strategies to migrate your app to Swift.