This chapter provides an introduction to animation in SwiftUI by building a program that allows the user to experiment with different basic animations and compare how different parameters affect those animations.
In this chapter, you’ll learn about explicit and implicit animations in SwiftUI and how to use interpolation functions to change their behavior.
Learn how to enhance your components by animating them to appear or disappear using either built-in or custom transitions tailored to your needs.
As you walk through this chapter, you’ll learn how to create a complex custom component by drawing it line by line and animating it with SwiftUI.
In this chapter, you’ll learn how to apply matrix transformations to a SwiftUI `Shape’. When all the components are ready, you will allow users to interact with them using different kinds of gestures, such as rotating or zooming.
This chapter starts with animating a view in traditional SwiftUI fashion, then explores how to create animations in situations where SwiftUI can’t do the work for you.
In this chapter, you’ll look at combining separate transitions and animations into a single animation. You’ll also consider animating the view based on multiple property changes.
In this chapter, you’ll learn `TimelineView`, which creates views that update on a schedule rather than on state changes. You will then combine this with the Canvas view to create an analog timer animation.
You will create a visual animation that combines SwiftUI views and a SceneKit animation that shows a liquid pouring into a view that is being filled.
In this chapter, you’ll create a well-known component of Apple’s interface, the Honeycomb application network! You’ll learn the basics of hexagonal meshes and apply some math to accurately recreate the appearance of a component.