objective c - Decrease indexPath.row? -
i have code below use catch item inside array:
int value = (int)indexpath.row; value--; titlelabel.text = textlabelssection0[value]; considering array textlabelssection0 has 8 elements , variable value store number 3, problem variable value not store number 3, stores number 18446744073709551615, causing error:
index 18446744073709551615 beyond bounds [0 .. 8]' how can solve problem?
Comments
Post a Comment