- (void)applicationDidFinishLaunching:(UIApplication *)application {
//Copy database to the user's phone if needed.
[self copyDatabaseIfNeeded];
//Initialize the coffee array.
NSMutableArray *tempArray = [[NSMutableArray alloc] init];
self.coffeeArray = tempArray;
[tempArray release];
//Once the db is copied, get the initial data to display on the screen.
[Coffee getInitialDataToDisplay:[self getDBPath]];
// Configure and show the window
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];
}
Monday, May 11, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment