So I've been using the google calendar API (objective C) and have been able to retrieve, add, edit, remove events and all but Im having problems with the whole asynchronous part of it all.
What I'm hoping to do is load all the events into a simple array and store it in my "Day" object...which I actually have working but I was hoping to do this while the app's launch image is on screen. So I figured I should put my code in here ...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
Obviously what happens is the google calendar code starts running when the launch image is displayed but because its asynchronous the app loads up (launch image is removed) while the code has yet to finish.