class FileManager : NSObject
Search for a directory and create it if it does not already exist.
Any error that may be thrown by createDirectory.
func findOrCreateDirectory(at url: URL, withIntermediateDirectories createIntermediates: Bool, attributes: [FileAttributeKey: Any]? = nil) throws
The URL of the directory to find (or create).
If true then any intermediate directories are also created.
File attributes for the directory, if it is created.