Empowering user experience with animations
Unlike what many think, animations in iOS are not for “fun”- they play a significant role in providing our app with a sleek and smooth experience. As a result, they are part of our developer’s tools set.
Animation in iOS relies on a framework called Core Animation, which is one of UIKit's dependencies. So, even though this chapter discusses UIKit, we can find Core Animation in many classes and methods in UIKit.
Going over the core concepts of animation in UIKit
So, what do we need to know about animations when practicing for an interview?
We need to know several classes, terms, methods, and techniques. Let’s go over them before we move on to an advanced interview question.
Performing UIView animations
UIView animations are probably the simplest animations we have in UIKit. In a UIView animation, we provide a closure with our final state, and UIKit runs the animation automatically. Let’...