I\'m trying to create a new folder, but I can\'t figure out how to use createDirectoryAtPath correctly.
According to the documentation, this is the correct syntax:>
The Swift 2.0 way:
do { var deliverablePathString = "/tmp/asdf" try NSFileManager.defaultManager().createDirectoryAtPath(deliverablePathString, withIntermediateDirectories: false, attributes: nil) } catch let error as NSError { NSLog("\(error.localizedDescription)") }