Technical requirements
The code in this chapter is based on Xcode 12 and iOS 14. Apart from the Creating a hero transition with .matchedGeometryEffect recipe, the other recipes are compatible with iOS 13 as well.
You can find the code in the book's GitHub repo under the https://github.com/PacktPublishing/SwiftUI-Cookbook/tree/master/Chapter07%20-%20Animating%20with%20SwiftUI path.