A little known fact is that tuples can be used to instantiate structs.
Swift: Tuple
Andyy Hope

“Pretty cool, huh? But there is one caveat…”

There really is one caveat: this feature is being removed.

Everyone should be careful while writing about Swift these days since everything is changing. I oblige myself to read every Swift Evolution proposal before publishing anything to the community.

Show your support

Clapping shows how much you appreciated an0’s story.