Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
onmyway133 committed Feb 26, 2019
1 parent 6bca6bd commit c575cbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ let changes = diff(old: old, new: new)

Model must conform to `DiffAware` protocol for DeepDiff to work. An model needs to be uniquely identified via `diffId` to tell if there have been any insertions or deletions. In case of same `diffId`, `compareContent` is used to check if any properties have changed, this is for replacement changes.

It needs `diffId` to tell changes about insertions and deletions, and `comparing` to tell if a model really changes for replacement and movement.

```swift
public protocol DiffAware {
var diffId: Int { get }
Expand Down

0 comments on commit c575cbf

Please sign in to comment.