Commit graph

4 commits

Author SHA1 Message Date
Valeriy Van
b5bc6802ed Minor dubious changes to swift example app:
Summary:
Changes if to guard;
Uses forEach instead of for loop.

- [x] All tests pass. Demo project builds and runs.
- [ ] 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)

Changes if to guard;
Uses forEach instead of for loop.
Closes https://github.com/Instagram/IGListKit/pull/178

Differential Revision: D4153631

Pulled By: rnystrom

fbshipit-source-id: 077a64f7c92a8d8acdb3626047b602b12a9ebe17
2016-11-09 09:31:15 -08:00
Bofei Zhu
59242c5b7e Add final to each class in Example
Summary: Closes https://github.com/Instagram/IGListKit/pull/173

Differential Revision: D4143811

Pulled By: rnystrom

fbshipit-source-id: 879ba9fa858648677fd2e3750bcf1815ac37ef18
2016-11-07 15:59:04 -08:00
Valeriy Van
d34a8aa9a5 Implements isEqual func with guard statement
Summary:
Implements isEqual func with guard statement

- [x] All tests pass. Demo project builds and runs.
- [ ] 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/151

Differential Revision: D4120016

Pulled By: rnystrom

fbshipit-source-id: a769071f788b1acc1f2fade5606859a5d91f1bfd
2016-11-02 14:14:01 -07:00
Ryan Nystrom
cf7cfb89df Add diffing example
Summary: Adding an example of how to use diffing by itself w/ `UITableView` batch updates.

Reviewed By: jessesquires

Differential Revision: D4077768

fbshipit-source-id: 313193cdcadd337e08f74e90713fa127a5365112
2016-10-26 11:59:13 -07:00