JohnSundell / Files

A nicer way to handle files & folders in Swift
MIT License
2.53k stars 182 forks source link

Example of use with (or instead of) fileImporter? #125

Open NCrusher74 opened 3 years ago

NCrusher74 commented 3 years ago

I'm having a very difficult time working with fileImporter, and from the absolute dearth of information out there about how to work with it, I suspect people are avoiding it with extreme prejudice.

Specifically, I'm struggling with the fact that, unlike other .sheet and .alert items, it seems to ONLY be usable when attached to a button that toggles a boolean state and it seems to break if you try to use it as anything other than a view modifier.

Unfortunately, I can't avoid it. I need an interface that allows importing files into my app. I'm wondering if you have (or are aware of someone who has) made this work, either using your files Library or otherwise.