Reading List

Run-time Polymorphism in Swift from Michael Tsai RSS feed.

Run-time Polymorphism in Swift

Jordan Rose (Mastodon): There are only three ways to get run-time polymorphism in Swift. Well, three and a half. […] Calling a function value (closure) Calling a class member Calling a protocol requirement Manually testing the type of a value […] Generics are a powerful and flexible tool, but in general they don’t result in […]