#childclass #superinit
If you want to add a new initializer to a child class, you should refer to the properties of the parent initializer.
If a subclass does not have any of its own initializers, it automatically inherits the initializers of its parent class. (HWSarrow-up-right)
Hacking with Swift / 100 days / 12 - Classes / Which classes should be declared as final?arrow-up-right
Last updated 3 years ago