Let NSIndexSet handle all the range identification. #886
Let NSIndexSet handle all the range identification. #886

(cherry picked from commit fd8636a099ed68a5e1a2d119b5e5ddd6edd775ff)

smartcop/MIT-Mobile-for-iOS,smartcop/MIT-Mobile-for-iOS