Missing documentation - Added Param detail for [IGListScrollDelegate listAdapter:didEndDraggingSectionController:willDecelerate:] (#1222)

Summary:
Issue fixed: #1220

- [x] All tests pass. Demo project builds and runs.
- [x] Added proper documentation to the decelerate param. The documentation is taken from [Apple docs](https://developer.apple.com/documentation/uikit/uiscrollviewdelegate/1619436-scrollviewdidenddragging)
- [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)
- This is my first pull request for IGListKit so please let me know if I am following the pattern correctly or not.
Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1222

Differential Revision: D8990058

Pulled By: rnystrom

fbshipit-source-id: 7011427c242a61efb79183dbb588c11086926180
This commit is contained in:
Aviral Aggarwal 2018-07-25 06:42:07 -07:00 committed by Facebook Github Bot
parent 0c0b31ad7c
commit bfc97f908f

View file

@ -41,6 +41,8 @@ NS_SWIFT_NAME(ListScrollDelegate)
@param listAdapter The list adapter whose collection view ended dragging.
@param sectionController The visible section controller that ended dragging.
@param decelerate 'Yes' if the scrolling movement will continue, but decelerate, after a touch-up gesture during a
dragging operation. If the value is 'No', scrolling stops immediately upon touch-up.
*/
- (void)listAdapter:(IGListAdapter *)listAdapter didEndDraggingSectionController:(IGListSectionController *)sectionController willDecelerate:(BOOL)decelerate;