When SwiftUI sends an update to a wrapped UIKit view, we often need to know whet...

@hishnash@mastodon.social

When SwiftUI sends an update to a wrapped UIKit view, we often need to know whether the wrapped UIKit view produced the update to this value.

Custom SwiftUI transaction values provide a clean way to carry this information and avoid unnecessary update or comparison work.

nilcoalescing.com/blog/Trackin

#SwiftUI #UIKit #iOSDev