I have a UITableView which generates its data from a pList.
I have a method configureCell which setups each cell so it will display the label and a coloured block next to it.
The label of each cell however needs to increment per section. So each section starts with 0 and increases in .5 steps each time.
I’ve tried running this on configureCell but it updates every time the cell is scrolled back into view.
What’s the best way of doing this? The value will never change and is always .5 increments.
If your label is called ‘label’ you can set it like so: