Trying to get the default document directory in Swift 3, but says it has been renamed to FileManager. If the update for FileManager then receives an error: cannot call the value of the non-functional type FileManager
Xcode 8. Swift 3 Beta 4.
using this line of code from FMDB Swift Instructions :
let documents = try! NSFileManager.defaultManager().URLForDirectory(.DocumentDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false)
source
share