Closed JaleelNazir closed 6 years ago
I think we can just append
items to existing array, and DeepDiff
can just do the work. Or do you worry about performance?
let items = ["a", "b", "c"]
diff(old: [], new: items)
var newItems = items
newItems.append("d")
diff(old: items, new: newItems)
Can also please add "append" method, it will be very useful for pagination. I want to do pagination in tableView by appending data to the existing array.
Can you please guide me ?