Michael Long
Mar 1, 2024

--

Don't think the example paid off the article, since you basically just created a generic struct of type T. The protocol was irrelevant.

And in fact you would have started to get into associated type issues if, as an example, you tried to create an assignment to a variable of type Container.

Article stopped short.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

No responses yet