mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-24 09:48:21 +00:00
Add correct comment syntax for Remodel
Summary: Using "//" causing a parsing issue with Remodel, whereas "#" appears to be the correct syntax. This pull simply updates the code sample using the correct syntax. - [x] All tests pass. Demo project builds and runs. - [x] 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/1169 Differential Revision: D8204551 Pulled By: rnystrom fbshipit-source-id: 3c77bb943cf2b99e1c48f74f72560c56601c026d
This commit is contained in:
parent
290d592983
commit
c04fa2fcaa
1 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ This is especially useful if you plan to change/extend the plugin in any way.
|
||||||
Now you are ready to generate your `IGListDiffable` conforming models! To generate a model, create a new `.value` file. Here's an example:
|
Now you are ready to generate your `IGListDiffable` conforming models! To generate a model, create a new `.value` file. Here's an example:
|
||||||
|
|
||||||
```
|
```
|
||||||
// PersonModel.value
|
# PersonModel.value
|
||||||
PersonModel includes(IGListDiffable) {
|
PersonModel includes(IGListDiffable) {
|
||||||
NSString *firstName
|
NSString *firstName
|
||||||
NSString *lastName
|
NSString *lastName
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue