Are you seeing a weird change in text and image styles when you dismiss a SwiftUI popover?

I noticed that when I dismissed my popover the text was changing its style… Read more →

SwiftUI Popover replaces existing popover without moving it or pointing it at the correct view

SwiftUI 2 popovers don’t properly update if one was already displayed and you trigger another. Read more →

SwiftUI adaptive Popover swipe-to-dismiss is broken

When swiping to dismiss in compact horizontal size class or on iPhone, the popover transition freaks out. Here’s a workaround. Read more →

Colouring the arrow of a Popover in SwiftUI

Popovers in SwiftUI don’t provide a way to change the colour of their arrow, and if you do not use a NavigationView but set a custom background colour, you will be sad that the arrow looks terrible. Read more →

Me: “Why is my SwiftUI view not updating when the model changes?”

The initialisers of Views in SwiftUI have some surprising and obscure behaviours related to state. If you’ve used SwiftUI at all you will likely have discovered this.

In addition, the rules around how properties that are wrapped with Property Wrappers are accessed are interesting when inside the initialiser of the type. It is this latter issue that bit me. Read more →