Commit graph

4 commits

Author SHA1 Message Date
Jake Lin
0ecd0ddd9e Update example code to make it more Swifty
Summary:
In this PR, we updated example code to make it more Swifty by removing `CGRect` for using `.zero` only.

- [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/111

Differential Revision: D4065463

Pulled By: rnystrom

fbshipit-source-id: 089258466e320c58afc9d547f78a481ce9458e49
2016-10-22 20:14:15 -07:00
Valeriy Van
0af9178992 Using array initialisation instead of for loop.
Summary:
Using array initialisation 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)
Closes https://github.com/Instagram/IGListKit/pull/81

Differential Revision: D4030872

Pulled By: jessesquires

fbshipit-source-id: f61114d60bacfcb7a3722a6727aa0060a68ae35d
2016-10-18 02:44:22 -07:00
Valeriy Van
1e73bc69b0 Fixes compilation errors in example app.
Summary:
Fixes compilation errors in example app.

- [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/71

Differential Revision: D4027054

Pulled By: rnystrom

fbshipit-source-id: 50020d309e8cf69dabaa1958d9f1eed37dc6ee63
2016-10-15 12:29:15 -07:00
Sven Bacia
ce4b851da3 Support cells created from nibs
Summary:
I started working on adding support for dequeuing cells created from nibs (issue #1). Additionally I extended `IGListSingleSectionController` so that it can be used with nibs too. I don't know if you had this also in mind.

- [x]  I'm currently thinking about the best way to test these changes.
- [x] I was not able to update the documentation (issue #55).

- [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/56

Reviewed By: dshahidehpour

Differential Revision: D4023746

Pulled By: rnystrom

fbshipit-source-id: 6a8b4cfb4dba38ea6e9870a9a4506288ee155cfe
2016-10-14 18:59:18 -07:00