Learn to: Get up and running with Swift on Xcode® Set up a playground environment to test Swift syntax quickly Collect, declare, and type data Create an app that uses location, mapping, and social media Here's the Swift solution to learning Apple's new, simpler programming language Designed from the ground up to be easier than Objective-C, Swift is expected to become the premier programming language for iPhone, iPad, and Mac apps. Get onboard now with this plain-English guide! Learn to set up Xcode for a new Swift application, start building iPhone and iPad apps, mix and match Objective-C with Swift, and much more. Off to a Swift start -- get the developer tools, set up your Mac, register as a developer, and plan your environment Welcome to the playground -- discover the playground environment, where you can write simple or complex code and watch while it executes Get your actions together -- see how Swift treats actions and function definitions Building Swift classes -- find out about the initialization and deinitialization features and how Swift expressions are built Classes, structures, and enumerations -- learn to work with these as well as methods, functions, actions, and protocols Open the book and find: How to combine projects into workspaces Steps for creating a playground All about Xcode editing tools Advice on using constants and variables Using internal and external names for parameters Tips for working with optional types Using the iOS Simulator to test your code Ten Swift features that aren't in Objective-C®.
Swift for Dummies