var tuple = ("Text", 10) func foo(a:String, b:Int) {} // โญ๏ธ tuple splat syntax foo(tuple) // โ deprecated in Swift 2.2 // โญ๏ธ array.map() [(1,2)].map(max) // โ [2]
Destructuring tuple of tuple in closure
swift-evolution โฉ Remove implicit tuple splat behavior from function applications
Variadic Parameter
Last updated 3 years ago