摘要: var point = (2,17) switch point { //case (var x,17): // print("x = \(x)") case (var x,var y): print("x = \(x),y = \(y)") //default: break } 阅读全文
posted @ 2017-03-15 15:27 skyPeat 阅读(876) 评论(0) 推荐(0) 编辑