thevole/HorizontalTable

Garbage remains on scrollView while call refreshData.

Opened this issue · 3 comments

I experienced that garbage remains on the scrollView if you call refreshData.
The scrollview is not cleaned up while refreshing. I suggest to add these lines to refreshData method.
for(UIView *subview in [self.scrollView subviews])
if([subview isKindOfClass:[UIView class]])
[subview removeFromSuperview];

Thanks! Worked like a charm! Have you considered forking repo then requesting it be pulled back in?

Sent a pull request, you can see its status here: #5

Thanks! Been fighting with that for hours ;)