small medium large xlarge

iOS 10 SDK Development: Creating iPhone and iPad Apps with Swift


Cover image for iOS 10 SDK Development

iOS 10 SDK Development

Creating iPhone and iPad Apps with Swift


All in on Swift! iOS 10 and Xcode 8 make it clearer than ever that Swift is Apple’s language of the future. Core frameworks have been redesigned to work better with Swift, and the language itself continues to evolve quickly. iOS 10 SDK Development is the pure-Swift approach to developing for the iOS platform. This completely revised and updated edition of the bestselling iOS guide shows you how to pull in the SDK’s enormous feature set and deliver powerful, real-world apps for iPhone and iPad using modern Swift programming techniques.

Choose Your Format(s)

  • $27.50 In Stock
    • Beta: What do I get?

  • Ebooks are DRM free.

  • Ebook delivery options.

About this Title

Pages: 262 (est)
Published: 2017-03-10
Release: B5.0 (2017-03-09)
ISBN: 978-1-68050-210-7

Swift is the language of the future for iOS development, and this completely revised and updated book is your guide. From the community-driven changes in Swift 3 to the overhaul of iOS’ Foundation framework to make it more “Swifty,” iOS 10 and Xcode 8 mark an “all in” commitment to Swift, and this new edition matches that commitment.

Learn not just the syntax of the Swift language but also stylish Swift, the idiomatic uses of the language, and best practices you’ll find in the wild. From there, move into developing a complete, real-world podcast client sample application—completely new for this edition—featuring Internet access, tables, navigation, and media playback, all with the most modern approaches provided by Apple’s iOS 10 frameworks and tools. Go beyond code to master the practices that professional developers rely on: testing, debugging, publishing on the App Store, and managing your app over the long haul. As a bonus, you’ll get a taste of cutting-edge iOS 10 features.

Swift’s time is here. Whether you’re new to Swift or just catching up on iOS’ latest features, iOS 10 SDK Development will help you master the language and the platform.

What You Need

Readers will need Xcode 8 (free on the Mac App Store) and a macOS computer capable of running it. A physical iOS device is not required (code can be run in Xcode’s iOS Simulator).

Contents & Extracts

This book is currently in beta, so the contents and extracts will change as the book is developed.

  • Playing with Xcode 8
    • Tooling Up with Xcode
    • Messing Around in a Playground
    • Getting Serious on the Playground
    • Digging Into Documentation
    • What We’ve Learned
  • Starting With Swift
    • The Swift Programming Language
    • Using Variables and Constants
    • Counting with Numeric Types
    • Storing Text in Strings
    • Packaging Data in Collections
    • Looping and Branching: Control Flow
    • Maybe It’s There, Maybe It Isn’t: Optionals
    • What We’ve Learned
  • Swift With Style excerpt
    • Creating Classes
    • Returning Tuples
    • Building Lightweight Structures
    • Listing Possibilities with Enumerations
    • Handling Errors the Swift Way
    • What We’ve Learned
  • Building User Interfaces
    • Creating Our First Project
    • The Xcode Window
    • Building Our User Interface
    • Placing UI Elements with Autolayout
    • What We’ve Learned
  • Connecting the UI to Code
    • Connecting Actions
    • Coding the Action
    • Connecting Outlets
    • What We’ve Learned
  • Testing the App
    • The Need for Unit Tests
    • How Tests Work in Xcode
    • Creating Tests
    • Testing Asynchronously
    • User Interface Testing
    • Running and Testing on the Device
    • What We’ve Learned
  • Handling Asynchronicity with Closures excerpt
    • Understanding Closures
    • Coding With Closures
    • Care and Feeding of Closures
    • Grand Central Dispatch
    • What We’ve Learned
  • Loading and Parsing Network Data
    • Fetching Network Data
    • Mapping XML to Swift Types
    • Parsing XML
    • Combining XML Parsers
    • What We’ve Learned
  • Presenting Data With Tables
    • Tables on iOS
    • Creating Table Views
    • Customizing Table Appearance
    • What We’ve Learned
  • Navigating Through Scenes excerpt
    • Navigation Controllers
    • Segueing Between Scenes
    • Modal Segues
    • What We’ve Learned
  • Debugging
  • Publishing
  • Next Steps


Chris Adamson is a writer and developer specializing in media software development. He is the co-author of the iOS SDK Development series from Pragmatic Bookshelf, Learning Core Audio (Addison-Wesley Professional), and several other titles. He is based in Grand Rapids, Michigan, where he writes the Time.code() blog.

Janie Clayton is an independent iOS developer. Janie is the coauthor of several books on iOS and Swift development. She writes her various musings on her blog at Janie lives outside of Madison, Wisconsin, with her attempted grumble of pugs and multitude of programming books.

Upcoming Author Events

  • 2017-03-30: Janie Clayton
    Buffers and Encoders and Command Queues, Oh My! Metal was announced in 2014, yet it still hasn't really been widely adopted. It can be incredibly difficult to find a good starting point with Metal and many of you get discouraged. You run into a wall o (iOSCon 2017, London, England)
  • 2017-04-21: Chris Adamson
    Media Frameworks and Swift: This Is Fine (CocoaConf Chicago)
  • 2017-04-21: Janie Clayton
    Buffers and Encoders and Command Queues, Oh My! Many people, including myself, were really excited when Metal was announced in 2014. We thought about all the neat graphics programming we would be able to do. Then we watched the WWDC videos and ran into (CocoaConf Chicago)
  • 2017-04-22: Chris Adamson
    Firebase: Totally Not Parse All Over Again (Unless It Is) (CocoaConf Chicago)