Is there a way to automate the data numbering within a tableView ?
I currently have some 50 items and I keep adding new stuff regularly.
They don’t always come in neat order. So I find myself editing/ updating numberings manually very often.
Instead of manually typing like this;
Data[1] = AAA
Data[2] = BBB
Data[3] = CCC
Data[4] = DDD
Can I do something clever like this? ;
Data[1] = AAA
Data[Previous number +1] = BBB
Data[Previous number +1] = CCC
Data[Previous number +1] = DDD
Any suggestion, advice would be much appreciated!
-Leo