UIApplication
int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([MyAppDelegate class])); } }
UIApplicationMain creates an instance of a class called UIApplication.
Every app has a UIApplication instance, which maintains the application's run loop, which executes indefinitely, until the application terminates.
Before the run loop begins, the app calls application:didFinishLaunchWithOptions, to create any Views, Controllers, and other objects that need to be ready before it starts.








