Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #442 Differential Revision: D4450259 Pulled By: jessesquires fbshipit-source-id: 521583c669fc1160212a7c46a50d62d951cafa2e
- Loading branch information