title: iOS difference between AppDelegate and ViewController class
body: <p>How do I know what code goes in the AppDelegate class and what code goes in the ViewController class. Both classes have a similar method of <code>viewDidLoad</code> in <code>UIViewController</code> and <code>applicationDidFinishLaunching:</code> in <code>UIApplicationDelegate</code>. I guess <code>applicationDidFinishLaunching:</code> would be called first and that's where you'd create your view. But could someone please explain what general code goes in each of those classes?</p>