Summary
This chapter touches on a crucial topic in mobile development. Navigation has always been an issue, also in UIKit. However, we can achieve an effective navigation mechanism with thoughtful planning based on the product requirements and a balanced approach to flexibility and simplicity.
In this chapter, we went over the reasons why SwiftUI is a challenge, explored NavigationStack
, reviewed the Coordinator pattern, and even discussed a column-based navigation with NavigationSplitView
.
By now, we are more than capable of creating an amazing navigation in our app!
Our next chapter discusses something completely different but exciting: how to break our app’s borders and add features outside our sandbox with WidgetKit.