Created
January 31, 2023 21:30
-
-
Save aliabbas90/9fd8e3b969139bb9f11a152fe5c5503e to your computer and use it in GitHub Desktop.
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
func getDocumentsDirectory() -> URL { | |
let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask) | |
let documentsDirectory = paths[0] | |
return documentsDirectory | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment