mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-22 16:58:23 +00:00
Update README 'pk' to 'primaryKey' for consistency
Summary: Updated README example for naming consistency - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/58 Reviewed By: ryanolsonk, ocrickard Differential Revision: D4008590 Pulled By: rnystrom fbshipit-source-id: 74412ca77054cd6a15c0783b95f5d7a87eaf4c96
This commit is contained in:
parent
6e3656449f
commit
a7124a0fe5
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ To represent this in `IGListKit`'s diffing, add and implement the `IGListDiffabl
|
|||
```swift
|
||||
extension User: IGListDiffable {
|
||||
func diffIdentifier() -> NSObjectProtocol {
|
||||
return pk
|
||||
return primaryKey
|
||||
}
|
||||
|
||||
func isEqual(object: Any?) -> Bool {
|
||||
|
|
|
|||
Loading…
Reference in a new issue