Ryan Nystrom
|
8d8a632b67
|
Update MIT license language (#1272)
Summary:
Updating license language to meet FB open source standards.
Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1272
Differential Revision: D12844366
Pulled By: rnystrom
fbshipit-source-id: 27ae49ae00d963c5c012c79c5738365c232a5773
|
2018-11-01 10:58:46 -07:00 |
|
Ryan Nystrom
|
3102852ce2
|
Remove IGListSectionType
Summary:
Removing the `IGListSectionType` protocol and adding default implementations into `IGListSectionController`.
- `numberOfItems` returns 1
- `cellForItemAtIndex:` asserts (have to return a cell)
- `didUpdateToObject:` no-ops
- `didSelectItemAtIndex:` no-ops
Fixes #168
Reviewed By: jessesquires
Differential Revision: D4909585
fbshipit-source-id: 8816702504e3fc0683868914ff4dd20e4af7c166
|
2017-04-19 08:26:30 -07:00 |
|
Ryan Nystrom
|
ba65b56a9b
|
Improve the ObjC demo to reflect best-practices
Summary:
Couple best practices I want to make sure our examples reflect:
- Multiple cells in a section controller
- Unique models returned in `objectsForListAdapter:` (no dupes!)
- Dynamic item count (`comments` array)
Issue fixed: #595
- [x] All tests pass. Demo project builds and runs.
Closes https://github.com/Instagram/IGListKit/pull/615
Differential Revision: D4852192
Pulled By: jessesquires
fbshipit-source-id: f4a89800f90e6b5ea4b6dd7c0d9a78ca5d65082c
|
2017-04-07 11:33:43 -07:00 |
|