designated convenience automatic initialiser swift

By | August 7, 2016

designated convenience automatic initialiser swift 

Example code below demonstrates the concept of all of these initialisers in swift in a simple way. We have three classes here. One is the base class, Two is its subclass and Three is subclass of Two.

Example code – designated convenience automatic initialiser swift 

How these initializers work is described in the comments of the code.