标签: swift tuples
如何将Swift数组转换为单行元组?是否可以使用地图?
let arr = [1, 2] let (a, b) = tuple(arr) #tuple method doesn't exits, how can it be achieved