daniele farina
daniele farina

Reputation: 77

Manage multiple progress view in tableview

i have a table where in each dynamic cell there is a label with a URL and a progress view. How can i use the progress view to show the progress of each download from the URL of each cell??

Upvotes: 0

Views: 392

Answers (1)

Aaron Wojnowski
Aaron Wojnowski

Reputation: 6480

I would store the request objects in an array and then just setup a progress bar in the tableView:cellForRowAtIndexPath: method based on its respective request. This approach is better as opposed to storing the progress bars themselves as table cells and the views inside of them should be reused.

Upvotes: 1

Related Questions