34,333
edits
Changes
no edit summary
.UserDomainMask, true)
let docsDir = dirPaths[0] as ! String
</pre>
.UserDomainMask, true)
let docsDir = dirPaths[0] as ! String
if filemgr.changeCurrentDirectoryPath(docsDir) {
.UserDomainMask, true)
let docsDir = dirPaths[0] as ! String
let newDir = docsDir.stringByAppendingPathComponent("data")
if let fileattribs = attribs {
let type = fileattribs["NSFileType"] as ! String
println("File type \(type)")
}