Tuples in Swift, Advanced Usage and Best Practices

Advanced Tuples

Advanced Tuples

Now that we've seen the basics of how to use tuples, we will look at more advanced use cases. This also means there will be less often situations where you can apply those patterns.

Nevertheless, it is still very valuable to have them in your toolbox.