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.