Presentation from dotSwift 2017 conference, in Paris, Jan 2017.
Vidéo: https://www.dotconferences.com/2017/01/dimitri-dupuis-latour-subclassing-structs
In this lightning talk (4"), I describe a pattern I use in my ‘struct’ objects to have some form of ‘class’ hierarchy, without using ‘classes’. How do you subclass a struct ? Answer: Enums, Associated values and Composition…