Skip to content

Instantly share code, notes, and snippets.

@ViniciusDeep
Created February 13, 2019 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ViniciusDeep/112137cf1e3aae7b755c06f2aacb07bf to your computer and use it in GitHub Desktop.
Save ViniciusDeep/112137cf1e3aae7b755c06f2aacb07bf to your computer and use it in GitHub Desktop.
encry
do {
try (fileURL as NSURL).setResourceValue(
URLFileProtection.complete,
forKey: .fileProtectionKey)
}
catch {
// Tratamento de erros aqui.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment