Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2023 11:40
What would you like to do?
let url = try FileManager.default.url(for: .documentDirectory,
in: .userDomainMask,
appropriateFor: nil,
create: false)
// vs
let url2 = URL.documentsDirectory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment