Swift in Depth
Authors: Tjeerd in ‘t Veen
ISBN-10: 1617295183
ISBN-13: 9781617295188
Edition 版本: 1
Released: 2018-12-17
Print Length 页数: 376 pages
Book Description
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!
It’s fun to create your first toy iOS or Mac app in Swift. Writing secure,reliable,professional-grade software is a different animal altogether. The Swift language includes an amazing set of high-powered features,and it supports a wide range of programming styles and techniques. You just have to roll up your sleeves and learn Swift in depth.
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.
What’s inside
Writing reusable code with generics
Iterators,sequences,and collections
Protocol-oriented programming
Understanding map,flatMap,and compactMap
Asynchronous error handling with ResultBest practices in Swift
Chapter 1. Introducing Swift in depth
Chapter 2. Modeling data with enums
Chapter 3. Writing cleaner properties
Chapter 4. Making optionals second nature
Chapter 5. Demystifying initializers
Chapter 6. Effortless error handling
Chapter 7. Generics
Chapter 8. Putting the pro in protocol-oriented programming
Chapter 9. lterators,sequences,and collections
Chapter 10. Understanding map,flatMap,and compactMap
Chapter 11. Asynchronous error handling with Result
Chapter 12. Protocol extensions
Chapter 13. Swift patterns
Chapter 14. Delivering quality Swift code
Chapter 15. Where to Swift from here