new in swift

使用一个元组来返回多个值。 

func getGasPrices() -> (Double, Double, Double) {
 return (3.59, 3.69, 3.79) 3. }
getGasP rices ()
原文地址:https://www.cnblogs.com/penger/p/5261857.html