I have a viewA is loaded from Xib. My question is that how to subClass this viewA.
Every time when the my SubClass inited, and call [super init]
, it will return [viewA class]
.
Similar situation happened in Storyboard, when I want to subClass a viewController which loaded from Storyboard.