🎉 End-of-year Sale! Save 25% when you subscribe today.
Reference types are very different from value types in Swift. They are an amalgamation of data and behavior that can be mutated at any time and from any place in your code base. It can be very tricky to conform such types to the Equatable
and Hashable
protocols, and in this clip we show one such example.
Our free plan includes 1 subscriber-only episode of your choice, access to 64 free episodes with transcripts and code samples, and weekly updates from our newsletter.