In just 24 lessons of one hour or less, Sams Teach Yourself Swift in 24 Hours helps you build next-generation OS X and iOS apps with Apple’s new Swift 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.
Step-by-step instructions carefully walk you through the most common Swift development tasks.
Practical, hands-on examples show you how to apply what you learn.
Quizzes and exercises help you test your knowledge and stretch your skills.
Notes and tips point out shortcuts and solutions.
Learn how to…
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 (Arrays and Dictionaries)
Hour 5 Understanding Optional Values
Hour 6 Controlling Program Flow with Conditionals
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 Adding Interoperability with Objective-C
Hour 22 Interacting with User Interfaces
Hour 23 Asynchronous Programming in Swift
Hour 24 Learning Swift’s Standard Library Functions