mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 17:28:22 +00:00
Update Getting Started.md
Summary: Update Getting Started file to display that 'IGListDiffable' has been renamed to 'ListDiffable' (as seen on Xcode) Issue fixed: N/A - [ ] All tests pass. Demo project builds and runs. - [ ] I added tests, an experiment, or detailed why my change isn't tested. - [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [X] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/964 Differential Revision: D6161503 Pulled By: rnystrom fbshipit-source-id: a3602393bb29a31d05fd9590aaa44f03bd5827d7
This commit is contained in:
parent
5cf01cc0a7
commit
b166528853
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ Both `shayne` and `ann` represent the same *unique* data because they share the
|
|||
To represent this in `IGListKit`'s diffing, add and implement the `IGListDiffable` protocol:
|
||||
|
||||
```swift
|
||||
extension User: IGListDiffable {
|
||||
extension User: ListDiffable {
|
||||
func diffIdentifier() -> NSObjectProtocol {
|
||||
return primaryKey
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue