The Swift Developer's Cookbook (includes Content Update Program)

  • ISBN13:


  • ISBN10:


  • Edition: 1st
  • Format: Paperback
  • Copyright: 12/9/2015
  • Publisher: Addison-Wesley Professional

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $59!
    Your order must be $59 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $14.00
  • Rent Book $25.99
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


In The Swift Developer’s Cookbook, renowned author Erica Sadun joins powerful strategies with ready-to-use Swift code for solving everyday development challenges.

As in all of Sadun’s programming best-sellers, The Swift Developer’s Cookbook translates modern best practices into dozens of well-tested, easy-to-apply solutions. This book’s code examples were created in response to real-world questions from working developers to reflect Swift’s newest capabilities and best practices. Each chapter groups related tasks together. You can jump straight to your solution without having to identify the right class or framework first.

Sadun covers key Swift development concepts, shows you how to write robust and efficient code, and helps you avoid common pitfalls other developers struggle with. She offers expert strategies for working with this immensely powerful language, taking into account Swift’s rapid evolution and its migration tools.

Whether you’re moving to modern Swift from Objective-C, from older versions of the Swift language, or from the world of non-Apple languages, this guide will help you master both the “how” and “why” of effective Swift development. Industry recruiters are scrambling to find Swift developers who can solve real problems and produce effective working code. Get this book, and you’ll be ready.

Coverage includes
  • Writing effective Swift code that communicates clearly and coherently to the compiler, your team, and to “future you,” who will be maintaining this code
  • Using Xcode to handle changes in Swift’s language constructs as the language evolves
  • Building feedback, documentation, and output to meet your development and debugging needs
  • Making the most of optionals and their supporting constructs
  • Using closures to encapsulate state and functionality and treat actions as variables for later execution
  • Leveraging control flow with innovative Swift-specific statements
  • Working with all Swift types: classes, enumerations, and structures
  • Using generics and protocols to build robust code that expands functionality beyond single types
  • Making the most of the powerful Swift error system
  • Working with innovative features such as array indexing, general subscripting, statement labels, custom operators, and more

This book is part of the Pearson Content Update Program (CUP). As the technology changes, sections of this book will be updated or new sections will be added. The updates will be delivered to you via a free Web Edition of this book, which can be accessed with any Internet connection.

Author Biography

Erica Sadun is a bestselling author, coauthor, and contributor to several dozen books on programming and other digital topics. She has blogged at TUAW.com, O'Reilly's Mac Devcenter, Lifehacker, and Ars Technica. In addition to being the author of dozens of iOS-native applications, Erica holds a Ph.D. in computer science from Georgia Tech's Graphics, Visualization and Usability Center. A geek, a programmer, and an author, she's never met a gadget she didn't love. When not writing, she and her geek husband have parented three geeks-in-training, who regard their parents with restrained bemusement, when they're not busy rewiring the house or plotting global domination.

Table of Contents

1. Tools
2. Types
3. Optionals
4. Closures
5. Control Flow
6. Protocols and Generics
7. Hybrid Projects and Frameworks
8. Cocoa Data Types and Design Patterns
9. Working Things That Aren't Swift in Swift
10. Swift Standard Library
11. Do This Don't Do That

Rewards Program

Write a Review