This has come up several times on the forums over the years, but I’ve never written...
This has come up several times on the forums over the years, but I’ve never written it up in a standard place, so here it is: There are only three ways to get run-time polymorphism in Swift. Well, three and a half. What do I mean by run-time polymorphism? I mean a function/method call (or variable or subscript acces...