Just when you thought having unambiguous types was the one true way of Swift, it turns out that sometimes it is necessary to erase types. In this talk from try! Swift, Gwendolyn Weston explains what a type is, what it means to erase a type, and why you would want to do it.
In this great talk from try! Swift Gwendolyn Weston introduces you to the concept of type erasure.
Type erasure can be a very powerful tool when used correctly and is even present in the Swift Standard Library.













