Post

Replies

Boosts

Views

Activity

Comment on Weird @Binding behavior, doesn't update the value until I set it into different one
It isn't a parameter but the notation for explicitly capturing the specified values from within a closure. Closures are a complex thing in Swift and you can read more in this article and see it in action, like you may have before here: https://www.hackingwithswift.com/articles/179/capture-lists-in-swift-whats-the-difference-between-weak-strong-and-unowned-references.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23