E very time when you rush to Appstore or Playstore, you can see tons of apps. Does every best or top trending app will fit in your smart phone ? Well it does not!. You have to make choice. Yes, the mobile app market is really saturated . There are more than 3 million apps floating across app stores. But average user has only 20-25 apps on his device. Out of these, most of them covers Social Media apps and Productivity tools as well. The first study , by Nielsen, revealed that the average number of apps that users open on a monthly basis has remained relatively stable over the past two years between 26.5 and 26.8 (although average time spent in apps per month has increased by more than 50% in the same period). Consider a taxi booking app you want to download. Wave of apps like Uber, Ola, Meru and many more listed in the store. Which one would you choose? One alone or Two apps cannot serve your purpose. For instance you have Ola app installed. U...
Recently I published a countdown app . At one point of development - I have to show a timer on a UILabel which ticks on each seconds. As usual I started setting text to a label object - self .timerLabel.text = someString Easy piece of cake right !? But wait ... it won't take much user attention when timer ticks on every seconds. So I decided to make use of a simple animation while label gets text update. I found there are dozens of ways to animate a label. In this short article, I listed 3 best way you can animate text on a label. ( Spoiler Alert 👀- I decided to go with 3rd option) 1. Fade In - Fade out animation : CATransition class has got transition type `fade`. With timing function of CATransition - I was able to see the below result. let animation: CATransition = CATransition () animation.timingFunction = CAMediaTimingFunction (name: CAMediaTimingFunctionName .easeInEaseOut) animation.type = CATransitionType .fade animation.subtype = C...