Closed saroar closed 5 years ago
@saroar Hi, you need to conform your model to DiffAware
protocol
extension User: DiffAware {
var diffId: Int {
return id.hashValue
}
static func compareContent(_ a: User, _ b: User) -> Bool {
return a.name == b.name
}
}
like this