-
Notifications
You must be signed in to change notification settings - Fork 562
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 a SwiftUI modifier similar to Alert/Sheet for a more Swifty presentation #143
Comments
Or this (functionally equal to the previous):
|
Oh, excuse me, I didn't see |
calimarkus
changed the title
SwiftUI Code style
Consider adding SwiftUI modifier similar to Alert/Sheet
Jul 18, 2024
calimarkus
changed the title
Consider adding SwiftUI modifier similar to Alert/Sheet
Add a SwiftUI modifier similar to Alert/Sheet
Jul 18, 2024
Yep that allows you to present SwiftUI views. I thought about adding the Alert pattern also. I renamed the issue accordingly. |
calimarkus
changed the title
Add a SwiftUI modifier similar to Alert/Sheet
Add a SwiftUI modifier similar to Alert/Sheet for a more Swifty presentation
Jul 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's a bit confusing to me that you don't give SwiftUI views to the function.
Maybe implement something like this (similar to Alert and Sheet):
Or:
Maybe it's just me but I would prefer one of these solutions.
The text was updated successfully, but these errors were encountered: