We can use object of AppDelegate by these ways say...
1)
AppDelegate *app; // Globally declared
app = (AppDelegate*)[[UIApplication sharedApplication] delegate]; //Use this any where in app
2)
#define APP_DELEGATE ((AppDelegate*)[[UIApplication sharedApplication] delegate])
[APP_DELEGATE.navigationController ...]; //use macro any where in app
I want to know which way is better in terms of performance and processing speed ?