Hi Developers,
I am curious the difference between IndexPath.row and IndexPath.item. In my experiment result of iOS code using table view, these two properties had identical values at all the time. After some search I found this page telling they are actually the functionally the same, while people usually use "row" for table view and "item" for collection view for style convention.
https://stackoverflow.com/questions/14765730/nsindexpath-item-vs-nsindexpath-row
I want to double check: is this true? are they really functionally identical? if identical what made them appear in the API together?
Usually everything has a reason to exist ... these two properties together seem strange to me, so I just want to double check.
Thank you!