Book description
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 programming language for Cocoa and Cocoa Touch. Now in its second edition, Swift for Beginners has been updated to accommodate the evolving features of this rapidly adopted language.
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:
Detailed instruction, ample illustrations, and clear examples
Best practices from an experienced Mac and iOS developer
Emphasis on how to use Xcode, Playgrounds, and the REPL
COMPANION WEBSITE:
www.peachpit.com/swiftbeginners2 includes additional resources.
Table of contents
- Title Page
- Copyright Page
- Dedication Page
- Acknowledgments
- About the Author
- Contents
- Introduction
- Welcome to Swift
-
Section I: The Basics
- Chapter 1. Introducing Swift
- Chapter 2. Working with Collections
- Chapter 3. Taking Control
-
Chapter 4. Writing Functions and Closures
-
The Function
- Coding the Function in Swift
- Exercising the Function
- More Than Just Numbers
- Parameters Ad Nauseam
- Functions Fly First Class
- Throw Me a Function, Mister
- A Function in a Function in a...
- Default Parameters
- What’s in a Name?
- When It’s Good Enough
- To Use or Not to Use?
- Don’t Change My Parameters!
- The Ins and Outs
- Bringing Closure
- Summing It Up
- Stay Classy
-
The Function
- Chapter 5. Organizing with Classes and Structures
- Chapter 6. Formalizing with Protocols and Extensions
-
Section II: Developing with Swift
- Chapter 7. Working with Xcode
- Chapter 8. Making a Better App
- Chapter 9. Going Mobile with Swift
- Chapter 10. Becoming an Expert
- Chapter 11. Heading Downhill
- Index
- Code Snippets
Product information
- Title: Swift for Beginners: Develop and Design, Second Edition
- Author(s):
- Release date: December 2015
- Publisher(s): Peachpit Press
- ISBN: 9780134289793
You might also like
book
Swift for Beginners: Develop and Design
NOTE: This edition is now out of date, and does not conform with the current version …
book
Beginning Swift Programming
Enter the Swift future of iOS and OS X programming Beginning Swift Programming is your ideal …
book
Swift For Dummies
Get up and running with Swift—swiftly Brimming with expert advice and easy-to-follow instructions, Swift For Dummies …
book
Swift for Absolute Beginners
The professional development team that brought you two editions of Objective-C for the Absolute Beginners and …