iOS8, Swift: fileURLWithPath - missing argument for parameter error
问题 I am trying to append subdirectory to documents directory using method: class func fileURLWithPath(path: String) -> NSURL?` code: let applicationDocumentsDirectory:String = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0] as NSString let storesDirectory:NSURL = NSURL.fileURLWithPath(applicationDocumentsDirectory).URLByAppendingPathComponent("Stores") Getting error missing argument for parameter 'isDirectory' in call. I don't really get it, why compiler