mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 01:08:27 +00:00
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 |
||
|---|---|---|
| .. | ||
| Common | ||
| Internal | ||
| IGListAdapter.h | ||
| IGListAdapter.m | ||
| IGListAdapterDataSource.h | ||
| IGListAdapterDelegate.h | ||
| IGListAdapterUpdater.h | ||
| IGListAdapterUpdater.m | ||
| IGListAdapterUpdaterDelegate.h | ||
| IGListCollectionContext.h | ||
| IGListCollectionView.h | ||
| IGListCollectionView.m | ||
| IGListDisplayDelegate.h | ||
| IGListGridCollectionViewLayout.h | ||
| IGListGridCollectionViewLayout.m | ||
| IGListKit.h | ||
| IGListReloadDataUpdater.h | ||
| IGListReloadDataUpdater.m | ||
| IGListScrollDelegate.h | ||
| IGListSectionController.h | ||
| IGListSectionController.m | ||
| IGListSectionType.h | ||
| IGListSingleSectionController.h | ||
| IGListSingleSectionController.m | ||
| IGListStackedSectionController.h | ||
| IGListStackedSectionController.m | ||
| IGListSupplementaryViewSource.h | ||
| IGListUpdatingDelegate.h | ||
| IGListWorkingRangeDelegate.h | ||
| Info.plist | ||