I am trying to extract the URL of the document a user has selected in the default "Open" dialogue of my document based macOS application. I understand, a fileWrapper is passed to the init method but is there a way of extracting the path/URL from said wrapper?
Thanks,
Lars
DocumentGroup just needs a binding to the document to initialize the ContentView with, so have a func on the document grab the url & return the binding:
App:
Document: