Swift In 24 Hours, Sams Teach Yourself (2nd Edition)
by Bj Miller /
2015 / English / PDF
25.5 MB Download
In just 24 lessons of one hour or less,
In just 24 lessons of one hour or less,Sams Teach Yourself
Swift in 24 Hours, Second Edition
Sams Teach Yourself
Swift in 24 Hours, Second Edition, will teach you how to build
next-generation OS X and iOS apps with Apple’s Swift 2 programming
language. This book’s straightforward, step-by-step approach helps
you quickly master Swift 2’s core concepts, structure, and syntax
and use Swift to write safe, powerful, modern code. In just a few
hours you’ll be applying 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.
, will teach you how to build
next-generation OS X and iOS apps with Apple’s Swift 2 programming
language. This book’s straightforward, step-by-step approach helps
you quickly master Swift 2’s core concepts, structure, and syntax
and use Swift to write safe, powerful, modern code. In just a few
hours you’ll be applying 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
Step-by-step instructions carefully walk you through the
most common Swift 2 programming tasks.
carefully walk you through the
most common Swift 2 programming tasks.Practical, hands-on examples
Practical, hands-on examples show you how to apply what you
learn.
show you how to apply what you
learn.Quizzes and exercises
Quizzes and exercises help you test your knowledge and
stretch your skills.
help you test your knowledge and
stretch your skills.Notes and tips
Notes and tips point out shortcuts and solutions.
point out shortcuts and solutions.
Learn how to...
Learn how to...Get started with Swift 2.0’s Xcode 7 development environment
Get started with Swift 2.0’s Xcode 7 development environmentMaster Swift’s fundamental data types
Master Swift’s fundamental data typesUse operators to change, assign, combine, check, or verify
values
Use operators to change, assign, combine, check, or verify
valuesRetain data and preferences in memory with arrays, sets, and
dictionaries
Retain data and preferences in memory with arrays, sets, and
dictionariesControl program flow, modify execution paths, and iterate
code
Control program flow, modify execution paths, and iterate
codePerform complex actions concisely with Swift 2.0’s improved
functions
Perform complex actions concisely with Swift 2.0’s improved
functionsWork with higher-order functions and closures
Work with higher-order functions and closuresHarness the power of structs, enums, classes, and class
inheritance
Harness the power of structs, enums, classes, and class
inheritanceTake advantage of Swift’s advanced memory allocation and
references
Take advantage of Swift’s advanced memory allocation and
referencesUse protocols to define behavior and explore
Protocol-Oriented Programming
Use protocols to define behavior and explore
Protocol-Oriented ProgrammingAdd type functionality with extensions
Add type functionality with extensionsSmoothly handle errors
Smoothly handle errorsLeverage the power of generics to create flexible and
reusable code
Leverage the power of generics to create flexible and
reusable codeInteroperate with Objective-C code
Interoperate with Objective-C codeGet started with Functional Programming approaches and
thinking functionally
Get started with Functional Programming approaches and
thinking functionally