Custom SwiftUI bindings are often created with Binding(get:set:), but closure-ba...

@natpanferova@mastodon.social

Custom SwiftUI bindings are often created with Binding(get:set:), but closure-based bindings can have subtle performance implications. In my new post, I look at an alternative approach using labeled subscripts:
nilcoalescing.com/blog/CustomB
#SwiftUI #iOSDev