SwiftUI Container Relative Shape
useyourloaf.comSwiftUI has lots of ways to create rounded rectangles but what if you want to match the corner radius of a widget? Apple added ContainerRelativeShape to iOS 14 for that purpose and you can explore it in this article.
Read more...