I just found how to determine the document folder under macOS. But I like to find the folder, in which my binary is located. I want to load a file, which is stored in the same directory like my binary.
2020 | SWIFT 5.1:
let appFolder = Bundle.main.resourceURL
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With