Filter bad CLLocation objects in didUpdateLocations function

We get location objects in CLLocationManager’s The issue however is it also gives us some CLLocation objects which are low quality. Since plotting low-quality CLLocation or using them can lead to a bad user experience. We can solve this by using the following properties of CLLocation object horizontalAccuracy verticalAccuracy timestamp All the accuracy properties are … Read more

Animate UIProgressView backward

There are situations where we need to use the UIProgressView as a count-down bar. We want to count it from 1 to 0. There are two ways in which this can be achieved. Flipping the UIProgressView This is the old solution that can be used if you are supporting below iOS 9.0. In this method, … Read more