Swift Programming Tutorial: Structs

Photo by: Patrick Baum at unsplash.com

Structs, shorthand for structures uses properties and methods in order to deal with more complex customization of data types. Properties are variables which works the same way of storing values. While methods are functions where it contains set of instructions that performs specific outcome.

E.g.