Skip to content

Use the alert(unwrapping:case:) API. #5

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

Merged
merged 1 commit into from
Nov 23, 2021
Merged

Use the alert(unwrapping:case:) API. #5

merged 1 commit into from
Nov 23, 2021

Conversation

mbrandonw
Copy link
Member

Seems better for the purpose of the example apps to only use our APIs instead of the SwiftUI ones. What do you think?

There may be other ways to demonstrate the binding transformations with case studies if we want to show off those APIs.

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the one hand, no presenting data is attached to this alert, but on the other hand, I think the unwrapping:case: is a more discoverable API than `Binding.isPresent(_:), so let's do it!

@stephencelis stephencelis merged commit 7d39688 into main Nov 23, 2021
@stephencelis stephencelis deleted the use-alert-api branch November 23, 2021 14:21
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