MHPagingScrollView
MHPagingScrollView copied to clipboard
When numberOfPagesInPagingScrollView becomes Zero you still calling thePagingScrollView
I've used your control exactly like the tableview, I was calling the API, put the response in datasource array and reload MHPagingScrollView.
When you try the scenario to reload data when the datasource count was 4 (for example) then after updating the datasource and it was empty and reload MHPagingScrollView, you still calling thePagingScrollView (cell for row in tableview) even the numberOfPagesInPagingScrollView becomes zero, which will cause the application to crash or to behave incorrectly.