Custom SwiftUI bindings are often created with Binding(get:set:), but closure-ba...
Natalia Panferova @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:
https://nilcoalescing.com/blog/CustomBindingsInSwiftUIClosuresVsSubscripts
#SwiftUI #iOSDev