Swift For The Really Impatient

byMatt Henderson, Dave Wood

Paperback | December 14, 2014

Swift For The Really Impatient by Matt Henderson
$34.99
Earn 175 plum® points
Prices and offers may vary in store

Out of stock online

Not available in stores

about

Swift for the Really Impatient is the perfect jumpstart to the Swift language for every experienced Objective-C developer. Leading iOS and OS X developers Matt Henderson and Dave Wood help you take full advantage of Swift’s powerful innovations, without wasting time on basics you already know.

Through expert code examples and crystal-clear explanations, Henderson and Wood reveal how Swift features improve on Objective-C and show how to make the most of them. You’ll quickly master “Swift-er” techniques for using objects, classes, optionals, generics, functions, closures, and more. Each chapter includes hands-on exercises designed to reinforce and deepen your skills.

You’ll learn how to re-implement common Objective-C programming solutions in Swift, improving code clarity, power, and performance on both desktop and mobile devices. And, because you probably won’t (or can’t) abandon Objective-C anytime soon, you’ll discover how to use both languages together, smoothly integrate Swift into existing projects and workflows, and gradually move your current code base into the future. Coverage includes
  • Using Swift’s new patterns and concise, expressive syntax to produce safer, more reliable code
  • Leveraging the surprising power of Swift’s data structures
  • Utilizing Swift’s type system to help prevent errors common in other languages
  • Using optionals to correctly handle invalid, missing, or unknown values
  • Implementing generics to reduce duplication, improve power, and simplify maintenance
  • Interacting with C and Objective-C APIs
  • Abstracting functionality for reusable code while maintaining type safety
  • Isolating code in clean, flexible, low-overhead closures
  • Combining Swift with Objective-C in the same project
  • Avoiding gotchas when importing Objective-C classes in Swift projects
  • Nesting types to improve code clarity
  • Creating shared objects with singletons
  • Managing threading and concurrency with Swift’s advanced Grand Central Dispatch (GCD) patterns

Foreword     xiPreface     xiiiAcknowledgments     xvAbout the Authors      xvi Chapter 1: Introducing Swift     1 1.1 Basic Syntax     21.1.1 Variables and Constants     21.1.2 String Interpolation     51.1.3 Control Flow     61.2 Basic Data Types     101.2.1 Int     101.2.2 Double and Float     121.2.3 Bool     131.2.4 Strings     14...
Loading
Title:Swift For The Really ImpatientFormat:PaperbackProduct dimensions:176 pages, 9.2 X 7 X 0.6 inShipping dimensions:176 pages, 9.2 X 7 X 0.6 inPublished:December 14, 2014Publisher:Pearson EducationLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0133960129

ISBN - 13:9780133960129

Appropriate for ages: All ages

Look for similar items by category: