From a7124a0fe5ce17efa231b7c2dcaf5aa435bb09f3 Mon Sep 17 00:00:00 2001 From: James Kuang Date: Wed, 12 Oct 2016 07:57:19 -0700 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 564d0395..4c356b4f 100644 --- a/README.md +++ b/README.md @@ -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 {