Skip to content

Glossary: Swift Beyond the Basics

inheritance

Also written: subclass, superclass, super, override

Building one class on another. The subclass gets the superclass's properties and methods, can replace methods with `override`, and reaches the superclass's version with `super`. `WholesaleCustomer` is a subclass of `Customer`.

Where the book teaches it

Related terms

finalprotocol inheritance