1- When calling two times programatically beginRefreshing the spinner was having some issues (dissapearing, and unknown behaviours), so check if is not already refreshing before starting.
2- When adding the refreshControl is better to store the scrollView to not have later to pass it again when removing the refresh.
3- Added a public method to be able to check if is already refreshing
1- When calling two times programatically beginRefreshing the spinner was having some issues (dissapearing, and unknown behaviours), so check if is not already refreshing before starting.
2- When adding the refreshControl is better to store the scrollView to not have later to pass it again when removing the refresh.
3- Added a public method to be able to check if is already refreshing