Tuesday January 4th, 2011
iPhone dev memoramda #2
View controllers can load a view from a nib with -(id) initWithNibName:bundle: OR -(void) loadView . They CAN’T be used at the same time. Setup happening just once should occur in -(void) loadDidLoad but beware: bounds data are not yet set. Otherwise -(void) viewWillAppear should be’ used.