I know when you subclass a UIview (making your own custom view) and you try to implement a custom initializer you have to implement the initwithcoder init because it's required by the super class (UIview conforms to NSCoding protocol). But what I'm trying to understand is what calls this method?
Right now I have this situation going on:
- I've created a custom view subclass and added it as a subview programmatically to the UI/storyboard. I also have the view displaying on the storyboard but in it's identity inspector I have it showing that it is of the type of my custom view.
So to reiterate, my question is, what call init?coder a decoder? And what is the process? What goes on?
Anything enlightening will be appreciated,
Thank you