Where do notification watchers fit into the VIPER pattern?

I am changing my project to VIPER template.

I had many observers for my main view. I cannot find where I should place my observers in VIPER.

Because I don't want to show my observer. I used to have a separate class for observers, and when notification is used there, I use it to update to the main view.

But in the new VIPER, I don't know where is the best.

Should I make a new VIPER-N? N for notifications.

+3


source to share


1 answer


Guys, if you are confused. Then place the observers in the interactor.

ps: do not be confused and then pass the data obtained in the integrator to the presentation for viewing.



:) :)

Lucky viper.

0


source







All Articles