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...
Set up your Swift development environmentMaster Swift’s fundamental data types and operatorsMake the most of arrays and dictionariesControl program flow, modify execution paths, and iterate codePerform complex actions with functionsWork with higher-order functions and closuresHarness the power of structs, enums, classes, and class inheritanceCustomize initializers of classes, structs, and enumsImplement instance methods, type methods, and advanced type functionalityTake full advantage of Swift’s advanced memory allocationExtend type functionality with protocols and extensionsLeverage the power of generics, chaining, and other advanced featuresInteroperate with Objective-C codeInteract with user interfacesTake advantage of Swift’s Standard Library features and functions