Conditional Navigation & Transitions - New Video in the Video Reference Library

Mark Moeykens
Jul 1, 2021


Hello SwiftUI Adventurers!

I recently had a reader of the SwiftUI Animations Mastery book look at one of the challenges and ask me, "How would I navigate to another view after the onboarding finished?"

Great question!

I don't think I ever taught how to navigate without using the NavigationLink yet. We do it all the time at work with if statements.

Usually, our apps have a "main" or "app" view. From this view, we determine which view the user should start on.

For example, should the user start on:
  • A login screen?
  • An onboarding screen?
  • A landing screen
  • A "What's New" view?

Conditional Navigation

I created a video and added it to the SwiftUI Video Reference Library which can be accessed through the Explorers Club membership.

In the video you'll learn how to:
  • How to set up your app for conditional navigation
  • How to add transitions
  • How to add animations (3 different options)

This video will also be on YouTube later on so keep a lookout for it.

Take care!

Your SwiftUI friend,
Mark Moeykens