Permalink
Browse files

working on passing the url to the right place

  • Loading branch information...
1 parent 3229f20 commit 72a31899ce077240f5f2f3a068df19ba066f4a36 @jchris jchris committed May 14, 2011
Showing with 5 additions and 0 deletions.
  1. +1 −0 OnTheSpot/OnTheSpotAppDelegate.m
  2. +2 −0 OnTheSpot/RootViewController.h
  3. +2 −0 OnTheSpot/RootViewController.m
View
1 OnTheSpot/OnTheSpotAppDelegate.m
@@ -20,6 +20,7 @@ @implementation OnTheSpotAppDelegate
- (void)couchbaseDidStart:(NSURL *)serverURL {
self.couchURL = serverURL;
+// self.navigationController.couchURL = serverURL;
NSLog(@"Couch is ready!");
}
View
2 OnTheSpot/RootViewController.h
@@ -24,7 +24,9 @@
NSMutableArray* _locationSamples;
NSMutableArray* _headingSamples;
NSTimer* _sampleTimer;
+ NSURL *_couchURL;
}
+@property (nonatomic, retain) NSURL *couchURL;
- (IBAction)takePicture;
View
2 OnTheSpot/RootViewController.m
@@ -24,6 +24,7 @@ @implementation RootViewController
@synthesize sampleTimer = _sampleTimer;
@synthesize images = _images;
+@synthesize couchURL=_couchURL;
- (id)initWithCoder:(NSCoder *)aDecoder
{
@@ -313,6 +314,7 @@ - (void)storeImage:(UIImage*)anImage withMetaData:(NSDictionary*)metaData
else {
NSString *jsonString = [[NSString alloc] initWithData:theJSON encoding:NSUTF8StringEncoding];
NSLog(@"Saving JSON %@", jsonString);
+
// requestWithURL

0 comments on commit 72a3189

Please sign in to comment.