I have an array of custom objects (subclass of NSObject), which grows over time as users append more such custom objects to it. I’d like to save this growing array as value of a key in CBL document. Simply putting this array as value as following doesn’t work (gives internal error):
let properties: Dictionary<String, Any> = [
//assuming doc is created.
I was wondering how should I implement this? If sample code for this kind of operation can be provided, that would be greatly appreciated ! Many Thanks !
p.s. the part of podfile related to CBL:
pod ‘couchbase-lite-ios’, ‘~> 1.4.1’