In programming, tuples are simple *product types*, representing ordered collections of types.

- Stackoverflow.com Wiki
2 articles, 0 books.

In this article, we zoom in on collections. Swift's standard library defines two collection types, arrays and dictionaries. Let's start with arrays.


A tuple is a data structure that provides an easy way to represent a single set of data. The System.Tuple class provides static methods to create tuple objects.