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:
James Kuang 2016-10-12 07:57:19 -07:00 committed by Facebook Github Bot
parent 6e3656449f
commit a7124a0fe5

View file

@ -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 {