April 2020
Beginner
316 pages
8h 20m
English
Now that we've covered a couple of the more advanced options with transitions, let's take a look at how we can make them all work seamlessly together.
We'll start by merging both asymmetric and combined transitions together:
.transition(.asymmetric(insertion: AnyTransition.opacity.combined(with: .slide), removal: .scale))
As you can see from the preceding code, we've added the combined function within our insertion parameter—go ahead and try it for yourself!
Another thing that you've heard me mention quite a few times in this chapter is the following:
Well, that's not always the case. Let's take a look at how we can adjust ...
Read now
Unlock full access