Overriding init in subclass
Every Cocoa Touch (and Cocoa) class has a designated initializer; for UIView, as stated in this documentation, that method is initWithFrame:. In this particular case, you’ll only need to override initWithFrame; all other calls will cascade down and hit this method, eventually. This goes beyond the scope of the question, but if you do end … Read more