IGListKit/Source
Sherlock 528bd33136 Added -[IGListAdapter visibleCellsForObject:] API
Summary:
- Added `-[IGListAdapter visibleCellsForObject:]` API

1. Get all visible cells
2. Get the section for the object
3. Filter cells where indexPath.section of cell is equal to the object
4. Return

- [x] All tests pass. Demo project builds and runs.
- [x] I added test(s), 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)

-------------

Purely additive, can go in 2.2.0 release? Hold off on changelog until agreed.
Wanting to learn some more ObjC so gave this a shot, would appreciate some nit picking/feedback

Closes #437
Closes https://github.com/Instagram/IGListKit/pull/442

Differential Revision: D4450259

Pulled By: jessesquires

fbshipit-source-id: 521583c669fc1160212a7c46a50d62d951cafa2e
2017-01-23 11:28:57 -08:00
..
Common Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -08:00
Internal Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -08:00
IGListAdapter.h Added -[IGListAdapter visibleCellsForObject:] API 2017-01-23 11:28:57 -08:00
IGListAdapter.m Added -[IGListAdapter visibleCellsForObject:] API 2017-01-23 11:28:57 -08:00
IGListAdapterDataSource.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListAdapterDelegate.h Regen docs for 2.0 release. Close #181 2016-11-21 15:44:01 -08:00
IGListAdapterUpdater.h Add allowsBackgroundReloading Flag to ListAdapterUpdater to Give User Control of Behavior 2017-01-03 10:44:04 -08:00
IGListAdapterUpdater.m Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -08:00
IGListAdapterUpdaterDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListCollectionContext.h Fix docs error 2016-12-08 07:14:04 -08:00
IGListCollectionView.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListCollectionView.m disables prefetchEnabled by default 2016-12-13 07:13:58 -08:00
IGListDisplayDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListGridCollectionViewLayout.h Cleanup layout 2016-11-21 23:28:58 -08:00
IGListGridCollectionViewLayout.m Clean internal NSArray copying 2017-01-22 14:44:14 -08:00
IGListKit.h Added Subspec for Diffing 2016-12-27 12:44:27 -08:00
IGListReloadDataUpdater.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListReloadDataUpdater.m Initial commit 2016-10-11 10:12:17 -04:00
IGListScrollDelegate.h Initial commit 2016-10-11 10:12:17 -04:00
IGListSectionController.h Summary: 2017-01-23 11:14:00 -08:00
IGListSectionController.m Initial commit 2016-10-11 10:12:17 -04:00
IGListSectionType.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListSingleSectionController.h Added object to single section selection delegate callback 2017-01-11 15:14:01 -08:00
IGListSingleSectionController.m Added object to single section selection delegate callback 2017-01-11 15:14:01 -08:00
IGListStackedSectionController.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListStackedSectionController.m Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -08:00
IGListSupplementaryViewSource.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListUpdatingDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListWorkingRangeDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
Info.plist Release 2.1.0 prep 2017-01-04 10:14:37 -08:00