CleanArchitectureRxSwift
CleanArchitectureRxSwift copied to clipboard
Need to add array of item in CoreData class
I have conversation service response that contain array of message. Need to added that functionality in CDModelName+Ext.swift to store chat messages.
While adding array I am getting error "Value of type '[Message]' has no member 'sync' "
Response for conversation is something like that { id : 1, message : [ {id:12, message:"test1"}, {id:13, message: "test2"} ] }
I guess you can sync
them one by one or implement a functions similar to this that can sync
array of items
Thanks for response. Can you share some sample code. In your sample code, code is there but I am not able to debug because that is not used in your application.