Hour 18. Using Extensions to Add Type Functionality
What You’ll Learn in This Hour:
How to define extensions
How to add initializers with extensions
How to add methods, computed properties, and subscripts with extensions
How to adopt a protocol to an existing type
In this hour, we discuss a feature of Swift called extensions. Types provided by ...