SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Publishers of technology books, eBooks, and videos for creative people
Register your product to gain access to bonus material or receive a coupon.
NOTE: This edition is now out of date, and does not conform with the current version of Swift. Please check out the newer edition instead, which is ISBN 9780134289779.
LEARNING A NEW PROGRAMMING LANGUAGE can be daunting. With Swift, Apple has lowered the barrier of entry for developing iOS and OS X apps by giving developers an innovative new programming language for Cocoa and Cocoa Touch.
If you are new to Swift, this book is for you. If you have never used C, C++, or Objective-C, this book is definitely for you. With this handson guide, you’ll quickly be writing Swift code, using Playgrounds to instantly see the results of your work. Author Boisy G. Pitre gives you a solid grounding in key Swift language concepts–including variables, constants, types, arrays, and dictionaries–before he shows you how to use Swift’s innovative Xcode integrated development environment to create apps for iOS and OS X.
THIS BOOK INCLUDES:
Writing Functions and Closures in Swift
Download Chapter 4 Writing Functions and Closures
Chapter 1, page 7: Two typos appear in the second paragraph of “Tools Of The Trade” section. The correct wording of the last sentence should be: Most importantly, you will want to become a member of the Apple Developer Program in order to get the most out of Yosemite and Xcode 6. If you’re not already a member of the Apple Developer Program, you can read all about joining by visiting https://developer.apple.com/programs.
Chapter 8, page 214: The Figure 8.27 caption should read: Figure 8.27 The results of a failed test
Chapter 8, page 215: The Figure 8.28 caption should read: Figure 8.28 The view of the code when the tests have passed
Chapter 10, page 258: The Figure 10.6 caption should read: Figure 10.6 Adding the code to the applicationDid FinishLaunching method
Chapter 10, page 259: The Figure 10.7 caption should read: Figure 10.7 Setting the breakpoint in MailChecker's deinit method