I’m building an app that displays a list of projects. Alongside these projects should exist a number displayed using a label (1,2,3 etc..). I am already using core data to store data for the projects and have toyed with the idea of just creating a new attribute called projectID and storing an int value in there whenever the project is created, however if a project is deleted from the list, the number system will be broken.
Is there an easier way to just show the number of the table view cell when it is displayed?
What about
indexPath.row + 1?