An NSIndexPath
does not simply store Int
s like it is an Array
, so direct inspection like you are doing does not reflect what you would get if you ran print(indexPath.row)
.
7
solved why my NSIndexPath value is not [0,1] but [0,64],how could I get [0,1]?