SwiftUI Animations and SF Symbols
The previous chapter dealt with a delightful topic – widgets. Their aesthetic level is both enjoyable and effective, which makes working with them fun and easy. Now, we will take that feeling even further with SwiftUI animations.
Animation is a crucial topic in iOS development, as it enriches the experience and makes our app more intuitive and enjoyable to use. If you are used to UIkit animations, you will notice that SwiftUI animations take a different approach than UIkit, providing a declarative API to animate state changes.
With these new challenges also come opportunities that ensure our logic state and UI are always aligned.
In this chapter, we will do the following:
- Discuss the importance of animations
- Understand the SwiftUI animation concept
- Perform basic animations with the view modifier and the
withAnimation
function - Perform advanced animations such as transitions and keyframe animations
- Animate SF...