Manning Publications, 2019. — 408 p. — ISBN: 978-1617295188.
Swift in Depth guides you concept by concept through the skills you need to build professional software for Apple platforms, such as iOS and Mac; also on the server with Linux. By following the numerous concrete examples, enlightening explanations, and engaging exercises, you'll finally grok powerful techniques like generics, efficient error handling, protocol-oriented programming, and advanced Swift patterns. Author Tjeerd in 't Veen reveals the high-value, difficult-to-discover Swift techniques he's learned through his own hard-won experience.
Swift is more than just a fun language to build iOS applications with. It features a host of powerful tools that, if effectively used, can help you create even better apps with clean, crystal-clear code and awesome features. Swift in Depth is designed to help you unlock these tools and quirks and get developing next-gen apps, web services, and more!
What's insideWriting reusable code with generics
Iterators, sequences, and collections
Protocol-oriented programming
Understanding map, flatMap, and compactMap
Asynchronous error handling with ResultBest practices in Swift
About the ReaderWritten for advanced-beginner and intermediate-level Swift programmers.
Introducing Swift in depth
Modeling data with enums
Writing cleaner properties
Making optionals second nature
Demystifying initializers
Effortless error handling
Generics
Putting the pro in protocol-oriented programming
Iterators, sequences, and collections
Understanding map, flatMap, and compactMap
Asynchronous error handling with Result
Protocol extensions
Swift patterns
Delivering quality Swift code
Where to Swift from here