100 Days of SwiftUI
2026-07-15
Project 13, part 1
push beyond the boundaries of SwiftUI so that we can connect it to Apple’s other frameworks
Instafilter: Introduction
at the center of it all are one useful app development skill – using Apple’s Core Image framework – and one important SwiftUI skill – integrating with UIKit.
How property wrappers become structs
SwiftUI sends binding updates to property wrappers, property observers used with property wrappers often won’t work the way you expect
Looking behind the curtain… $binding (e.g. from a slider) will set a value directly and bypass the “structiness” of a @State variable, so you have to use a different method.
Responding to state changes using onChange()
onChange() returns the old value and the new value or no value (if you don’t care what the value is, just that it changed). Returning only the new value is deprecated.
Showing multiple options with confirmationDialog()
confirmationDialog() is structured (in code) similarly to alert() but is a way to do more than accept/cancel