"Swift Gems" book update: new techniques from recent and past Swift releases
I’m excited to share that my book Swift Gems has just received a major update, bringing a fresh collection of practical tips and techniques for writing better Swift code. The new edition includes insights from the latest language advancements in Swift 6.0 and 6.1, as well as new examples and refinements based on features introduced in earlier versions of Swift.
This book is designed for experienced Swift developers looking to sharpen their skills and make the most of what the language has to offer. From working with optionals and generics to mastering async programming and improving collection performance, each tip is focused, actionable, and grounded in real-world usage.
The latest update introduces new techniques for working with noncopyable types, static dispatch, metatype key paths, and more. You’ll also find new content on using AsyncStream
and TaskGroup
, enhancing error handling with typed throws, and structuring your code for better runtime performance and clarity.
This update also refreshes existing tips with updated examples.
If you already own a copy of Swift Gems, you can now read the updated version online or download it from the book page. You can also view the release notes for a detailed list of what’s new and changed.
If you haven’t picked up a copy yet, this is a great time to dive in. The book continues to grow with new tips as Swift evolves, and all future updates are included with your purchase.