Post #1754143
2026-04-28 07:13 UTC
The onChange() modifier in SwiftUI has gone through some API changes since it was introduced. I wrote an overview of the modern variants, including how to access old and new values, and trigger the action on initial appearance: https://nilcoalescing.com/blog/OverviewOfonChangeInSwiftUI
#iOSDev #SwiftUI
Replies (0)
No replies.