After successful launch of my last iOS app , I wished to make another one for a different app category. Last time it took me comparatively long time to make highly stable, premium quality UX after much many iterations. Thanks to valuable feedbacks from my peers & social media friends. But this time all I need it in a very short duration. Yes! at the speed of F1 car. Being an F1 fan, I felt heat of upcoming 2019 season a month before it actually begins. I was assured that there are already couple of apps in the App Store which serves the same purpose. Even the official F1 organisation has got own feature rich / futuristic app. So why I am thinking to make my own version which could be a clone... 🤔 Well... the official F1 app is loaded with many great features & uses Unity framework under the hood for live circuits (a state of art feature). All these made heavier (~165MB when installed in my phone) app size to just view race results (if in case!). Couple of...
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...