Adopting Common Protocols
Make your custom types easier to use by ensuring that they conform to Swift protocols.
Make your custom types easier to use by ensuring that they conform to Swift protocols.
Decide how to store data and model behavior.
Access stored and computed values that are part of an instance or type.
Model custom types that encapsulate data.