Tuples in Swift

In Swift, tuples are used to group multiple values together into single compound value. The values we define in a tuple can be of any type and there is no restriction to use the same type of values.
 
In Swift, we have two types of tuples - unnamed tuples and named tuples.
 
To know more about tuples in Swift, check Tuples in Swift with Examples.