Skip to content

Instantly share code, notes, and snippets.

@laevandus
Created January 9, 2023 11:40
Embed
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