Created
April 17, 2015 11:25
-
-
Save xpqz/f8b304353080c3963a45 to your computer and use it in GitHub Desktop.
Cloudant helper class .h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Cloudant.h | |
// | |
// | |
// Created by Stefan Kruger on 12/03/2015 | |
// | |
// | |
#import <Foundation/Foundation.h> | |
#import "CloudantSync.h" | |
#import "CDTDatastore+Query.h" | |
#import "CDTQResultSet.h" | |
@interface Cloudant : NSObject | |
- (BOOL)replicateFromURL:(NSURL *)remoteDatabaseURL delegate:(id<CDTReplicatorDelegate>)dlg error:(NSError *__autoreleasing *)error; | |
- (BOOL)replicateToURL:(NSURL *)remoteDatabaseURL delegate:(id<CDTReplicatorDelegate>)dlg error:(NSError *__autoreleasing *)error; | |
- (CDTQResultSet *)find:(NSDictionary *)query; | |
- (CDTDocumentRevision *)saveDocumentWithBody:(NSDictionary *)body error:(NSError *__autoreleasing *)error; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment