Permalink
Browse files

mess around with delegates...

  • Loading branch information...
1 parent 72a3189 commit 135cc091bc124d8b63bc5f6e52f84849bedf587e @jchris jchris committed May 14, 2011
Showing with 7 additions and 1 deletion.
  1. +1 −1 OnTheSpot/OnTheSpotAppDelegate.m
  2. +6 −0 OnTheSpot/RootViewController.m
@@ -30,7 +30,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// Add the navigation controller's view to the window and display.
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];
- [Couchbase startCouchbase:self];
+ [Couchbase startCouchbase:self.window.rootViewController];
return YES;
}
@@ -39,6 +39,12 @@ - (id)initWithCoder:(NSCoder *)aDecoder
return self;
}
+- (void)couchbaseDidStart:(NSURL *)serverURL {
+ self.couchURL = serverURL;
+ // self.navigationController.couchURL = serverURL;
+ NSLog(@"Couch is woo ha!");
+}
+
- (void)viewDidLoad
{
[super viewDidLoad];

0 comments on commit 135cc09

Please sign in to comment.