iOS Dev 37: Animating Layers with Core Animation | Swift 5, XCode 13

Опубликовано: 15 Октябрь 2024
на канале: Emmanuel Okwara
4,005
130

In this video, we learn how to animate a layer using Core Animation.
We start by implementing a rotate animation on an ImageView, then we animate the Corner Radius of the same ImageView using both UIView.animate(... and CABasicAnimation.

Finally, we move on to implement a shake animation on the email and password fields using CAKeyframeAnimation whenever the email or password is invalid.

Helpful Resources:
Animatable Properties: https://developer.apple.com/library/c...
CATransform3D Key Paths: https://developer.apple.com/library/c...

Say Hi on Social Media:
LinkedIn:   / ​​  
Twitter:   / its_macco  

Video Content
1. Introduction 00:00
2. Project Setup 01:30
3. Rotation Animation 05:43
4. CornerRadius Animation 12:14
5. Setup form validator 16:36
6. Shake Animation 21:04
7. Conclusion 30:28