这是我的视图控制器的初始化函数:
- (id) initWithStartup: (NSDictionary *) _startup investor: (NSDictionary *) _investor chat_id: (NSString *) _chat_id chat_name: (NSString *) _name
{
self = [self initWithNibName: @"PLNewChatViewController" bundle: nil];
if(self)
{
}
return self;
}
具有以下内容是否正常/必要:
self = [self initWithNibName: @"PLNewChatViewController" bundle: nil];
是否应该自动加载 xib 文件?