A Swift class for reading and writing to the Documents directory for an app
var File = FileManager()
This calls it under the variable name File
File.dirContents()
This will return the contents as an Array
File.makeDir("Files")
This will make a directory called Files
(Returns a Bool)
File.delDir("Files")
This will delete the directory called Files
(Returns a Bool)
More features to come