Understanding Swift Value Semantics

Even if you’re just getting started with programming, chances are big that you’ve stumbled across Value Types. You may not even realize you’re working with them, but they come with some very interesting and good-to-know attributes that we will look into in this article.

Conceptual sketch of a stack storing two Value Types.

What Are Value Types?