Introduction to Swift | Protocols and Extensions

Swift includes features that help extend classes. Protocols require method implementations, and extensions add methods later. This section explains how to combine these two features.