associatedtype on Protocol, making Protocol Generic
When we talk about generic code we have to come to an associatedtype for protocol. The protocol is the contract between two entities. And to make that contract more generic Swift provides the associatedtype for generic type on the protocol. To develop the proper Protocol Oriented Programming, POP, skill the associatedtype plays an important role. … Continue the deep dive into the associatedtype on Protocol, making Protocol Generic