Is initWithNibName and initWithCoder method of UIView or UIViewController?
It seems that I saw them in both. Which is funny given that they do not
inherit from one another.
So what gives?
Also in UIViewController reference class initWithCoder is not mentioned at
all
-(id)initWithCoder:(NSCoder *)aDecoder
{
//NSString * superClass =NSStringFromClass([self superclass]) ;
self = [self initWithNibName:nil bundle:nil];
if (self) {
}
return self;
}
No comments:
Post a Comment