Generic Protocols with Associated Type
Bob Lee
41012

Hi Bob,

This was another great article by you on protocols.

I have a question regarding struct in Swift.

When to use Struct over class in Swift?

Please give me some realistic example, if possible. I know struct is value type as compared to class which is reference type. I’m expecting something other than this.

Show your support

Clapping shows how much you appreciated Sagar More’s story.