I've been struggling with this problem for over a week. And I really need some help.

I am using `ASIHTTPRequest` to handle three different download requests. The first download request will download from an online .txt file a timestamp. According to that timestamp, it must process how the application will launch.

It will check if a timestamp has been previously saved in `NSUserDefaults`, if not then this is the first time the app is launched and it will download a JSON feed (using `ASIHTTPRequest`) and then parse it into Core Data. 

If the stored timestamp matches the online one, then nothing happens since the data is up to date.

If the stored timestmap is older than the online timestamp, then the database will be cleared and redownloaded.

My problem is that in `ASIHTTPRequest`, before `requestFinished` gets executed, `application:didFinishLaunchingWithOptions` gets executed to the end. Now in the beginning of `application:didFinishLaunchingWithOptions`, I ask `ASIHTTPRequest` to download the online timestamp. Before `application:didFinishLaunchingWithOptions` is over, I need to have the online timestamp downloaded and ready to be use. How would I do that? Problem with `ASIHTTPRequest` is that it starts executing after `application:DidFinishLaunchingWithOptions` is over.