I have a class that I get from UIView, and I wanted to create a -init class for it as follows:
- (id) init { if (self = [super init]) { // my initializations here } return self; }
Unfortunately, I know this is not caused. This is how I define it in my .h:
-(id)init;
Does anyone know why they don't call him?
ADDITION:
I found that when initializing in initWithCoder it works fine. I added initWithFrame, but it was not called.
This is for the object that I indicated in IB.
user945620
source share