iphone - removed nib issues and calling init -


i have deleted nib file uiviewcontroller , want make calls init instead of initwithnibname. however, after deleted uiviewcontroller, still calling initwithnibname. need change calls init?

i initialized rest of uiviewcontroller via code, in uitabbarcontroller have following:

- (void)viewdidload {     [self settaburls:[nsarray arraywithobjects:@"tt://mygroup",                       @"tt://all",                       @"tt://search",                       nil]]; } 

three20 framework calls initwithnib, if ttviewcontroller created without nib file.

just move initialization code - (void)loadview function need to.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -