Improved Protocol-Oriented Programming with Untyped Type Aliases (part 1)
Protocol-Oriented Programming is crucial to writing great Swift code. But the reusability of a protocol is greatly restricted because Swift explicitly disallows adding generics to one. This can be overcome by using an untyped (or implicitly typed) typealias as a generic — something most Swift developers have never seen.
Read the rest of this article on my blog.