Skip to content

Instantly share code, notes, and snippets.

@nderkach
Created September 18, 2018 10:46
Show Gist options
  • Save nderkach/8af80c7bc5b0c0ced6789cdda7ff7c51 to your computer and use it in GitHub Desktop.
Save nderkach/8af80c7bc5b0c0ced6789cdda7ff7c51 to your computer and use it in GitHub Desktop.
let documentFolder = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.trackerblocker")
guard let jsonURL = documentFolder?.appendingPathComponent(Constants.blockerListFilename) else {
return
}
let attachment = NSItemProvider(contentsOf: jsonURL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment