logo dotConferences
Menu

“Subclassing Structs”

Dimitri Dupuis-Latour at dotSwift 2017

Dimitri describes a pattern used in their ‘struct’ objects to have some form of ‘class’ hierarchy… without using ‘classes’. How do you subclass a struct? Answer: Enums, Associated Values and Composition…

Slides