Swift in Depth

Summary

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!

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

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.

About the Book

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

About the Reader

Written for advanced-beginner and intermediate-level Swift programmers.

About the Author

Tjeerd in 't Veen is a senior software engineer and architect in the mobile division of a large international banking firm.

Table of Contents

  1. Introducing Swift in depth
  2. Modeling data with enums
  3. Writing cleaner properties
  4. Making optionals second nature
  5. Demystifying initializers
  6. Effortless error handling
  7. Generics
  8. Putting the pro in protocol-oriented programming
  9. Iterators, sequences, and collections
  10. Understanding map, flatMap, and compactMap
  11. Asynchronous error handling with Result
  12. Protocol extensions
  13. Swift patterns
  14. Delivering quality Swift code
  15. Where to Swift from here

Buy On Amazon »

Classic Computer Science Problems in Swift: Essential Techniques for Practicing Programmers
Classic Computer Science Problems in Swift: Essential Techniques for Practicing Programmers

Summary Classic Computer Science Problems in Swift invites readers to invest their energy in some foundational techniques that h ...

Details »
Programming iOS 12: Dive Deep into Views, View Controllers, and Frameworks
Programming iOS 12: Dive Deep into Views, View Controllers, and Frameworks

If you’re grounded in the basics of Swift, Xcode, and the Cocoa framework, this book provides a structured explanation of all ...

Details »
iOS Apps for Masterminds 4th Edition: How to take advantage of Swift 4.2, iOS 12, and Xcode 10 to create insanely great apps for iPhones and iPads
iOS Apps for Masterminds 4th Edition: How to take advantage of Swift 4.2, iOS 12, and Xcode 10 to create insanely great apps for iPhones and iPads

Learn how to create apps for iOS 12 before anyone else. This is the first book to teach you how to work with Swift 4.2, Xcode 10 ...

Details »
Hands-On Design Patterns with Swift: Master Swift best practices to build modular applications for mobile, desktop, and server platforms
Hands-On Design Patterns with Swift: Master Swift best practices to build modular applications for mobile, desktop, and server platforms

From learning about the most sought-after design patterns to a comprehensive coverage of architectural patterns and code testing ...

Details »
iOS 12 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics
iOS 12 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics

Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 10 IDE, Cocoa Touch, and the latest v ...

Details »
Learning Swift: Building Apps for macOS, iOS, and Beyond
Learning Swift: Building Apps for macOS, iOS, and Beyond

Get valuable hands-on experience with Swift, the open source programming language developed by Apple. With this practical guide, ...

Details »
App Architecture: iOS Application Design Patterns in Swift
App Architecture: iOS Application Design Patterns in Swift

This book explains a range of application design patterns and their implementation techniques using a single example app, fully ...

Details »
iOS Development with Swift
iOS Development with Swift

Summary iOS Development with Swift is a hands-on guide to creating apps for iPhone and iPad using the Swift language. Inside, yo ...

Details »