Last active
October 15, 2018 17:45
-
-
Save alansvits/2f0fe3364f4fac50eebc3d9b877abee6 to your computer and use it in GitHub Desktop.
File path fo Documents directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)) | |
Output: [file:///Users/YOUR_USER_NAME/Library/Developer/CoreSimulator/Devices/E724A933-DEA6-46D5-A470-F9DC2DA71791/data/Containers/Data | |
/Application/14B57C59-89E4-49C2-8DDF-12BD13683351/Documents/] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SOURCE:
https://stackoverflow.com/questions/37580015/how-to-access-file-included-in-app-bundle-in-swift