Swift Optionals and Generics for the Really Impatient
By Matt Henderson & Dave Wood
- Release Date: 2014-12-19
- Genre: Programming
Swift Optionals and Generics for the Really Impatient gives a concise, yet thorough introduction to these concepts, which may be new to Objective-C developers learning Swift. Understanding optionals and generics is vital to Swift developers, but they are often difficult topics to grasp and use correctly. This short book aims to get you up to speed with these powerful features quickly so you can take full advantage of them in your projects.
Coverage includesUsing optionals to correctly handle invalid, missing, or unknown valuesHow to increase efficiency and code readability with optional chainingImplementing generics to reduce duplication, improve power, and simplify maintenanceExtend generic types with extensions to conform to protocols and add advanced functionality
Matt Henderson and Dave Wood are authors of Swift for the Really Impatient (Addison-Wesley Professional)