Closed agentk closed 8 years ago
The Segments are created by a router when it's ready to present a path of view controllers.
Segments are just a Path + ViewCreator. This was for the purpose of comparing based on the path and pattern that led to a view being displayed.
The Segments could be replaced with an extension to ViewControllers that held the path. ViewControllers would then be comparable in the same way.
Actually just separated the action functions into a RouterDelegate. Works a charm.
The Segments are created by a router when it's ready to present a path of view controllers.
Segments are just a Path + ViewCreator. This was for the purpose of comparing based on the path and pattern that led to a view being displayed.
The Segments could be replaced with an extension to ViewControllers that held the path. ViewControllers would then be comparable in the same way.