Composing types in Swift

John Sundell looks at functionality composition, showing us a few situations that are better suited to composition, as opposed to inheritance. John demonstrates using composition with strives, enums, and classes in Swift.