Hello,
I am trying to integrate a simple app with Couchbase-lite, an embedded database, distributed as a .framework, both for macOS and iOS.
Following the documentation, I see I need to make 4 calls to the following Objective-C code:
CBLManager* manager = [CBLManager sharedInstance];
self.listener = [[CBLListener alloc] initWithManager:manager port:55000];
self.listener.passwords = @{@"hello": @"pw123"};
[listener start:nil];
https://docs-archive.couchbase.com/couchbase-lite/1.4/objc.html#configuring
Can you provide with any Declare examples that calls into Objective-C constructors and methods to study from?
thanks