Permalink
Browse files

add couchbase stuffs

  • Loading branch information...
1 parent 1cf7c6d commit f9c8c9411c992721dc24b921651a09aacab77f4f @jchris jchris committed May 1, 2011
Showing with 7 additions and 0 deletions.
  1. +1 −0 OnTheSpot/OnTheSpotAppDelegate.h
  2. +6 −0 OnTheSpot/OnTheSpotAppDelegate.m
@@ -7,6 +7,7 @@
//
#import <UIKit/UIKit.h>
+#import "Couchbase.h"
@interface OnTheSpotAppDelegate : NSObject <UIApplicationDelegate> {
@@ -7,6 +7,7 @@
//
#import "OnTheSpotAppDelegate.h"
+#import "Couchbase.h"
@implementation OnTheSpotAppDelegate
@@ -15,10 +16,15 @@ @implementation OnTheSpotAppDelegate
@synthesize navigationController=_navigationController;
+- (void)couchbaseDidStart:(NSURL *)serverURL {
+ NSLog(@"Couch is ready!");
+}
+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
// Add the navigation controller's view to the window and display.
+ [Couchbase startCouchbase:self];
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];
return YES;

0 comments on commit f9c8c94

Please sign in to comment.