-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add item in collection property wrapper support #521
Labels
bug
Something isn't working
Comments
The reason is that
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In SwiftUI 3, support was added for using a binding of an element in a collection.
This allows for using a binding to a value and reading the value. Currently this behavior is not supported in Tokamak. In the example above, I get an error on
$direction in
sayingThis isn't a big issue since you can technically use a ForEach on the count and index into the collection, but would be a nice to have!
Expected behavior
Using a binding would work in the above code snippet.
Desktop (please complete the following information):
Thanks!
The text was updated successfully, but these errors were encountered: