Saad El Oulladi
1 min readApr 30, 2019

--

Hello Vishal Dharankar

We are using a child coordinators array for two reasons :

1- Imagine you have many coordinators in the stack, and you want access a particular one. having all of them in an array makes it easy.
2 - In order to have a strong reference over child coordinators to keep them in memory (the delegate reference in View controller is week),

We may have coordinators without a childs array. but it will be difficult to pass from one to one.

--

--

Responses (1)