The AppCoordinator
class is responsible for navigation. It defines the flow of the application and instantiates the view controllers of the project. View controllers no longer need to worry about navigation, which makes them focused and lightweight. There is a cost to this shift in responsibilities, though. As the project grows, the complexity of the AppCoordinator
class increases.
Subscribe to Cocoacasts Plus to watch this episode.
Mastering Navigation With Coordinators
Managing Subflows With Child Coordinators
by Bart Jacobs in Patterns
Swift 4
Xcode 10
iOS 12
Mastering Navigation With Coordinators
-
08:11
-
2 Adopting the Coordinator Pattern
09:19
-
4 Navigating With a Coordinator
10:26
-
5 Adding Flexibility and Dynamism
12:36
-
6 Managing Subflows With Child Coordinators
10:51
-
12 Storyboards, XIBs, and Code
05:35
-
14 Working With Tab Bar Controllers
10:19
-
16 MVVM-C and Separation of Concerns
06:32