SwiftUI's New Geometry Modifiers & Best Practices: onGeometryChange, onScrollGeometryChange, and More
SwiftUI has recently introduced a family of geometry observation APIs: onGeometryChange, onScrollGeometryChange, and onScrollPhaseChange. The former is back deployed all the way back to iOS 16 and macOS 13 Ventura. These new modifiers are a pretty big deal in a few ways.