Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix DemoAppController.m (was using obsolete replication API)

Change-Id: I9fe65aff52d13f9da7de3d2904762c567e0ea9be
  • Loading branch information...
commit 7d489f302e73018da8a72b569d811b129eba0c93 1 parent 9a3ada3
@snej snej authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 Demo/DemoAppController.m
View
7 Demo/DemoAppController.m
@@ -66,10 +66,9 @@ - (void) applicationDidFinishLaunching: (NSNotification*)n {
- (void) startContinuousSyncWith: (NSURL*)otherDbURL {
- _pull = [[_database pullFromDatabaseAtURL: otherDbURL
- options: kCouchReplicationContinuous] retain];
- _push = [[_database pushToDatabaseAtURL: otherDbURL
- options: kCouchReplicationContinuous] retain];
+ _pull = [[_database pullFromDatabaseAtURL: otherDbURL] retain];
+ _push = [[_database pushToDatabaseAtURL: otherDbURL] retain];
+ _pull.continuous = _push.continuous = YES;
}
Please sign in to comment.
Something went wrong with that request. Please try again.