I would like to draw rectangles in the background of the cells of a table view, whose size will indicate the progression of subsequent tasks:
The progression bar should take the whole height of the cell and its width will be programmatically set when the TableView
is shown.
I would like to know how to get this result with a simple and efficient approach. I have not been able to find good practices for drawing a custom background for UITableViewCell
s, using CALayer
or another solution.
Also, I would appreciate if the technical solution for this task could also be valid when deciding to animate the progression of the bars.
Thank you.