.fileImporter() modifier that takes a store like .alert() to import files from Files app #3737
FredericRuaudel
started this conversation in
Ideas
Replies: 2 comments
-
If you |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I've just created a SwiftUI view modifier alternative of
.fileImporter
that takes a binding of a store like the official library provides for alerts and confirmationDialogs and I'd like to share it with you if you need it one day, or maybe for its official integration in TCA library ?Here is the implementation gist :
And here is a gist to try it:
It probably need some optimisation and tweaks here and there, but as is, it works quite well!
Try it and tell me what you think of it?
Have a nice day!
Fred
Beta Was this translation helpful? Give feedback.
All reactions