summaryrefslogtreecommitdiffstats
path: root/Classes/PicCastAppDelegate.m
diff options
context:
space:
mode:
authormatt handler <matt.handler@gmail.com>2011-04-29 16:35:15 -0400
committermatt handler <matt.handler@gmail.com>2011-04-29 16:35:15 -0400
commit869398ebfb18702b9de42f723ff8072b116eb04f (patch)
tree84a8bbff635bcd4d5c0f6edc42dc535134e02ab4 /Classes/PicCastAppDelegate.m
parente788dbb246a2c9673d595420beca061123526d50 (diff)
downloadpiccast-app-869398ebfb18702b9de42f723ff8072b116eb04f.tar.gz
piccast-app-869398ebfb18702b9de42f723ff8072b116eb04f.zip
changing subscribedSources -> sources, adding instant level today/tomorrow/yesterday for section headers, setting status bar to black and showing once app loads, handling url just an nslog right now, updated image, added piccast:// protocol, setting up faves in the db, adding search and browse views
Diffstat (limited to 'Classes/PicCastAppDelegate.m')
-rw-r--r--Classes/PicCastAppDelegate.m11
1 files changed, 8 insertions, 3 deletions
diff --git a/Classes/PicCastAppDelegate.m b/Classes/PicCastAppDelegate.m
index a3bc294..3da5a07 100644
--- a/Classes/PicCastAppDelegate.m
+++ b/Classes/PicCastAppDelegate.m
@@ -50,6 +50,9 @@
// Override point for customization after application launch.
// Add the tab bar controller's view to the window and display.
+ NSLog(@"launched");
+ [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
+ [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
[self.window addSubview:tabBarController.view];
[self.window makeKeyAndVisible];
@@ -134,9 +137,11 @@
[self prompt:title withMessage:message andButtonTitle:buttonTitle withDelegate:self];
}
-//- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
-// return [facebook handleOpenURL:url];
-//}
+- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
+ NSLog(@"url: %@", [url absoluteString]);
+ return YES;
+ //return [facebook handleOpenURL:url];
+}
+ (NSString *) getDatabasePath {
NSString *databaseName = @"PicCastSqlTable.db";