您的位置:首页 > 其它

initWithNibName 和 init 关系

2014-11-27 14:57 267 查看

initWithNibName 和 init 关系

2012-05-24 17:31:50| 分类:

iPhone 开发杂项 | 标签:
|举报
|字号大中小
订阅

Actually, init is just initWithNibName with the arguments are set nil.
if you redfine init, then you have to call :
self = [super initWithNibName:nibNameOrNil
bundle:nibBundleOrNil];

Then you can do your view hiercary in loadview method.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: