Skip to content
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

Introduce Binding<Bool>.init<V>(_: Binding<V?>) #160

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

stephencelis
Copy link
Member

We currently have an isPresent() method for transforming bindings, but it seems to be an outlier compared to most binding transformations that come with SwiftUI, which use initializers.

While updating docs I noticed the core module wasn't really organized at all, so took a quick pass.

We currently have an `isPresent()` method for transforming bindings, but
it seems to be an outlier compared to most binding transformations that
come with SwiftUI, which use initializers.

While updating docs I noticed the core module wasn't really organized at
all, so took a quick pass.
@stephencelis stephencelis requested a review from mbrandonw June 4, 2024 21:22
@stephencelis stephencelis merged commit 393e8ff into main Jun 4, 2024
4 checks passed
@stephencelis stephencelis deleted the binding-optional-bool branch June 4, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants