From 3f31d05ac3d9c2dfb38f84249a211a90b4747a7d Mon Sep 17 00:00:00 2001 From: trungducc Date: Thu, 1 Nov 2018 10:58:13 -0700 Subject: [PATCH] Fix documentation [IGListSectionController canMoveItemAtIndex:] #trivial (#1242) Summary: Issue fixed: #1219 No tests were added and no entry was added to `CHANGELOG.md` since this is a trivial change. - [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) Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1242 Differential Revision: D12840487 Pulled By: rnystrom fbshipit-source-id: ded4b09765c5666e23a9aa3596328e90df2b3229 --- Source/IGListSectionController.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/IGListSectionController.h b/Source/IGListSectionController.h index b6d111ab..258972a0 100644 --- a/Source/IGListSectionController.h +++ b/Source/IGListSectionController.h @@ -110,7 +110,9 @@ NS_SWIFT_NAME(ListSectionController) /** Identifies whether an object can be moved through interactive reordering. - @param index The index of the unhighlighted cell. + @param index The index of the object in the list. + + @return `YES` if the object is allowed to move, otherwise `NO`. @note Interactive reordering is supported both for items within a single section, as well as for reordering sections themselves when sections contain only one item. The default implementation returns false.