一句话小计 initWithNibName

来源:互联网 发布:jav番号新域名 编辑:程序博客网 时间:2024/06/07 08:18
- (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)bundle{self = [super initWithNibName:nilbundle:nil];// Get a pointer to the application bundle objectNSBundle *appBundle = [NSBundle mainBundle];self = [super initWithNibName:@"xxx"bundle:appBundle];if (self) {...}return self;}

0 0
原创粉丝点击