Home > Store

Swift in 24 Hours, Sams Teach Yourself (Learning Lab), 2nd Edition

Swift in 24 Hours, Sams Teach Yourself (Learning Lab), 2nd Edition

Web Edition

  • Your Price: $39.99
  • List Price: $49.99
  • About this Web Edition
  • A Web Edition is an online learning product that you view in your web browser while connected to the Internet. Some Web Editions include additional interactive features, such as videos, quizzes, or live code editing. Read the product description for more details. A Web Edition will be accessible from your Account page after purchase.

    Viewing a Web Edition requires a web browser that fully supports HTML5. Supported platforms are:

    • Windows XP (Firefox only)
    • Windows 7, 8, or 10 (IE10, IE11, Chrome, or Firefox)
    • Mac OS X (Safari, Firefox, or Chrome)
    • Linux (Chrome or Firefox)
    • iOS 6, 7, or 8 (Mobile Safari)

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 2016
  • Edition: 2nd
  • Web Edition
  • ISBN-10: 0-13-443125-1
  • ISBN-13: 978-0-13-443125-3

With this exclusive online Learning Lab edition of the book you can:

  • Read the complete text of the book online -- at your own pace, whenever you want
  • Watch an expert instructor show you how perform key tasks in more than 70 short, easy-to-follow videos
  • Test your understanding of the material after each lesson with a fully interactive online quiz

Three sample lessons are available for FREE online exactly as they appear in the full online Learning Lab — with complete video walkthroughs and interactive quizzes (HTML5 web browser required). Try them out today!

In just 24 lessons of one hour or less, Sams Teach Yourself Swift in 24 Hours, Second Edition, helps you build next-generation OS X and iOS apps with Apple’s the Swift 2.x programming language.

This book’s straightforward, step-by-step approach helps you quickly master Swift’s core concepts, structure, and syntax and use Swift to write safe, powerful, modern code. In just a few hours you’ll be applying advanced features such as extensions, closures, protocols, and generics. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.

Learn how to...

  • Set up your Swift development environment
  • Master Swift’s fundamental data types and operators
  • Make the most of arrays and dictionaries
  • Control program flow, modify execution paths, and iterate code
  • Perform complex actions with functions
  • Work with higher-order functions and closures
  • Harness the power of structs, enums, classes, and class inheritance
  • Customize initializers of classes, structs, and enums
  • Implement instance methods, type methods, and advanced type functionality
  • Take full advantage of Swift’s advanced memory allocation
  • Extend type functionality with protocols and extensions
  • Leverage the power of generics, chaining, and other advanced features
  • Interact with user interfaces
  • Take advantage of Swift’s Standard Library features and functions

About This Learning Lab: A Learning Lab is a self-paced online course that integrates text, graphics, video screencasts, and interactive quizzes into a complete tutorial. It is delivered online from a link that will be available on your InformIT Account page after purchase. Once purchased you can view the Learning Lab course in any web browser that supports HTML5, including the latest versions of Chrome, Firefox, Safari, and Internet Explorer. Supported platforms are:

  • Windows XP (Firefox only)
  • Windows 7 or 8 (Chrome or Firefox)
  • Mac OS X (Safari, Firefox, or Chrome)
  • Linux (Chrome or Firefox)
  • iOS 6 or iOS 7 (Mobile Safari)


Support File(s)

Access the code samples at github.com/STYSwiftIn24H/ExamplesV2.

Sample Content


Three sample lessons (Hours 1, 2, and 3) are available for viewing online, exactly as they appear in the full Learning Lab with complete video walkthroughs and interactive quizzes (HTML5 browser required). Just click on a link below.


HOUR 1: Introducing the Swift Development Environment

HOUR 2: Learning Swift’s Fundamental Data Types

HOUR 3: Using Operators in Swift

HOUR 4: Working with Collection Types

HOUR 5: Controlling Program Flow with Conditionals

HOUR 6: Understanding Optional Values

HOUR 7: Iterating Code with Loops

HOUR 8: Using Functions to Perform Actions

HOUR 9: Understanding Higher Order Functions and Closures

HOUR 10: Learning About Structs and Classes

HOUR 11: Implementing Class Inheritance

HOUR 12: Harnessing the Power of Enums

HOUR 13: Customizing Initializers of Classes, Structs, and Enums

HOUR 14: Digging Deeper with Properties

HOUR 15: Adding Advanced Type Functionality

HOUR 16: Understanding Memory Allocation and References

HOUR 17: Using Protocols to Define Behavior

HOUR 18: Using Extensions to Add Type Functionality

HOUR 19: Working with Optional Chaining

HOUR 20: Introducing Generics

HOUR 21: Understanding Protocol-Oriented Programming

HOUR 22: Handling Errors

HOUR 23: Adding Interoperability with Objective-C

HOUR 24: Functional Thinking in Swift


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership