Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Routers VS coordinators

I am an ios developer and trying to figure out the difference between the router in viper architecture and coordinator . I really cant find a clear answer is the coordinator just considered a pattern so the router is just some kind of coordinator after all or they have different purpose ? And if so what are the differences

like image 248
shr Avatar asked Jul 31 '26 10:07

shr


1 Answers

They are both similar but router manages routing from a single view controller, while coordinator takes care of entire flow.

So in a given Coordinator you might get child coordinators which makes you take care of the entire flow.

like image 67
Ayman Ibrahim Avatar answered Aug 03 '26 01:08

Ayman Ibrahim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!