No need to implement appDelegate method?


#1

My app runs fine without implementing the appDelegate.m with:
BNRQuizViewController *quizVC = [[BNRQuizViewController alloc] init];
self.window.rootViewController = quizVC;

Whats the point of this?

Also I implemented the viewDidLoad method in the View Controller instead of the initWithNibName:bundle: method and my app runs fine so what is the purpose of doing it this way??

thanks


#2

@DannyBoy you need to do this when you create an Empty Application in Xcode, you don’t have had to enter this if you created a single view application when creating your project.