Reputation: 77
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
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