0
是的,它是人vs编译器时间,编译器再次获胜! 在FUNC getRecordNumber我返回布尔和字典Swift函数 - 不符合协议“布尔类型”
func getRecordNumber(recordNumber: Int32) -> (isGot: Bool, dictLocations: Dictionary <String, Double>)
...
return (isGot, dictLocations)
我已经叫FUNC和质疑布尔但是经过isGot回到我得到错误信息
(isGot: Bool, dictLocations: Dictionary <String, Double>) Does not conform to protocol "Boolean Type"
任何想法我有遗漏了?