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.
source https://www.c-sharpcorner.com/Resources/4401/tuples-in-swift.aspx
No comments:
Post a Comment