Jul 28, 2017 · 1 min read
Hi Matthew,
Thanks for your great article, it’s give me a clearer picture how we should handle polymorphism and dynamic dispatch when using protocol with associated type. However I can’t really figure out the last part on how we can use ‘enum ShowBoxNum’ to solve the “cannot invoke showSB with an argument of type any” error. Would appreciate if you can provide more elaboration on that. Thanks!
