Swift For Dummies Author:Jesse Feiler Swift is the future of Apple programming - the heir apparent to Objective-C, and that's good news! Designed from the ground up to be a simpler programming language, it's now easier than ever to get started creating apps for iPhone or iPad, or applications for Mac OS X! Trust Dummies to get you off to a strong start with Swift, whether you are an... more » existing Objective-C programmer looking to port your code to Swift or even if you've never programmed for Apple in the past.
Find out how to set up Xcode for a new Swift applications, use operators, objects, and data types; control program flow with conditional statement; and create new functions, statements, and declarations. Learn useful patterns in an object-oriented environment and take advantage of frameworks to speed your coding along. Find out how Swift does away with pointer variables and how to reference and dereference variables instead.
Existing programmers will find out how to quickly port existing objective-c applications into Swift and get into the swing of the new language very ... swiftly.
In the book, you'll find coverage of:
-Moving existing Objective-C code to Swift
-Operators
-Collections and objects
-Data types
-Controlling data flow
-Creating and using functions
-Expressions
-Statements
-Patterns, generic parameters, and arguments
-Initializing and deinitializing data
-Closures
-Classes
-Methods
-Memory management with automatic reference counting