如何将NSURL转换为Swift中的String?
下列:
var directoryURL: NSURL var urlString: String = nsurlObject as String
抛出错误:无法将类型“NSURL”的值转换为强制类型“String”
下列:
var directoryURL: NSURL var urlString: String = nsurlObject as String
抛出错误:无法将类型“NSURL”的值转换为强制类型“String”