Book description
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:
Detailed instruction, ample illustrations, and clear examples
Real-world guidance and advice
Best practices from an experienced Mac and iOS developer
Emphasis on how to use Xcode, Playgrounds, and the REPL
COMPANION WEBSITE:
www.peachpit.com/swiftbeginners 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. Advancing Ahead
- Index
- Code Snippets
Product information
- Title: Swift for Beginners: Develop and Design
- Author(s):
- Release date: December 2014
- Publisher(s): Peachpit Press
- ISBN: 9780134044774
You might also like
book
Swift for Beginners: Develop and Design, Second Edition
LEARNING A NEW PROGRAMMING LANGUAGE can be daunting. With Swift, Apple has lowered the barrier of …
book
Swift: Developing iOS Applications
Unleash the power of Swift and discover the skills required to build incredible robust iOS applications …
book
Swift 4 Recipes: Hundreds of Useful Hand-picked Code Snippets
Get the most out of Swift 4 with this carefully compiled collection of select code snippets …
book
Swift for the Really Impatient
Swift for the Really Impatient is the perfect jumpstart to the Swift language for every experienced …