Adding Initializer to a ChildClass

#childclass #superinit

Overview

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. (HWS)

Sample Codes

Sources

Videos

Articles / Documents

Last updated