Are you relying on the default
URLSessionconfiguration for your network requests? You might want to check what the defaults are and decide if they are right for your app.
Xcode 12.5 has enhanced playground support. When you add a new playground to a project it defaults to having access to the types in your App target. This means you are not forced to import frameworks or Swift packages to share code between your app target and the playground.
SwiftUI has lots of ways to create rounded rectangles but what if you want to match the corner radius of a widget? Apple added
ContainerRelativeShapeto iOS 14 for that purpose.
When you create a new Widget you may have noticed that it gets its own asset catalog. As well as the usual
AccentColorthis also contains a
WidgetBackgroundcolor. What are these for and how are you supposed to use them?
Create your own custom SwiftUI view modifier when you want to reuse a set of modifiers on multiple views. Removing duplication also cleans up and improves the readability of your SwiftUI views.