cloudant / CDTDatastore

Cloudant Sync iOS datastore library.
Apache License 2.0
175 stars 53 forks source link

CDTPullReplication constructor parameter types are wrong #347

Closed pwcremin closed 7 years ago

pwcremin commented 7 years ago

e.g. In CDTPullReplication the 'target' is type CDTDatastore, it should be NSURL.

@implementation CDTPullReplication

@implementation CDTPushReplication

tomblench commented 7 years ago

For pull replication the source is a remote database (NSURL) and the target is the local database (CDTDatastore).

For push replication the source is the local database (CDTDatastore) and the target is a remote database (NSURL).

See our documentation for more details, including the code samples in https://github.com/cloudant/CDTDatastore/blob/master/doc/replication.md