IGListKit/Examples/Examples-iOS/IGListKitExamples
Andrew Monshizadeh a4e5ad862e Move section index to property
Summary:
This pull request removes the `sectionForSectionController:` method from the `IGListCollectionContext` protocol so that the protocol is exclusively for presentation methods.

This should not add new functionality, but rather makes the index directly accessible on the section controllers themselves. This change makes sense because at no time will there be an update to the list that the list adapter is unaware of and so it will always be able to set and update any indexes for a section controller that has changed.

Issue fixed: #609

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

Reviewed By: jessesquires

Differential Revision: D4942159

Pulled By: amonshiz

fbshipit-source-id: d648cfdd381cbf1d9ee7ff549ae27d2972a84622
2017-05-01 07:28:27 -07:00
..
Assets.xcassets/AppIcon.appiconset Optimized images 2017-02-20 16:18:20 -08:00
Base.lproj internal diff for PR #209 2016-11-16 12:44:19 -08:00
Models Improve the ObjC demo to reflect best-practices 2017-04-07 11:33:43 -07:00
SectionControllers Move section index to property 2017-05-01 07:28:27 -07:00
Storyboard Fix storyboard example app, Fix example build issue 2017-04-17 11:02:36 -07:00
Systems Demo for dependency injection and announcing changes 2017-04-04 10:16:39 -07:00
ViewControllers Init without working range size 2017-04-21 14:30:46 -07:00
Views Chore/variable accessibility, close #618 2017-04-11 13:46:41 -07:00
AppDelegate.swift kill IGListCollectionView. GH issue #409 (redo of D4640425) 2017-03-31 14:54:09 -07:00
Info.plist internal diff for PR #209 2016-11-16 12:44:19 -08:00