what is appDelegate?
The AppDelegate is sort of like the entry point for your application. It implements UIApplicationDelegate and contains methods that are called when your application launches, when is going to the background (i.e. when you hit the home key), when it’s opened back up, and more. The AppDelegate object is stored as a property on the UIApplication class and is accessible from anywhere in your objective-C classes. The header and implementation file for your AppDelegate is generated when you create your project and you don’t have to make any modifications for it to work. However, that doesn’t mean we can’t make changes and make use of the AppDelegate . We’re going to keep this simple and just add a new NSString property to the delegate. AppDelegate is handling special UIApplication states. This lets you do initialization/cleanup of your app at the right time.So basically the ...