Swift for the Really Impatient (eBook)
Pearson Education (Verlag)
978-0-13-396026-6 (ISBN)
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
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 "e;Swift-er"e; 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
Erscheint lt. Verlag | 3.12.2014 |
---|---|
Sprache | englisch |
Themenwelt | Informatik ► Betriebssysteme / Server ► Macintosh / Mac OS X |
Informatik ► Weitere Themen ► Smartphones / Tablets | |
ISBN-10 | 0-13-396026-9 / 0133960269 |
ISBN-13 | 978-0-13-396026-6 / 9780133960266 |
Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich