We look at multiple ways to change structs: mutation, functional chaining, and inout parameters. We discuss how they differ at the call site and why they’re all equivalent.
Mixins vs Inheritance Swift protocol extensions and their usage as Mixins & Traits can create very powerful patterns. Discover how Mixins can help you solve some interesting and common problems… in quite magical ways!