I do have few questions. What the best way to use interactor:
Let's say in interactor I save some data, but I want to check this data and show next alert:
self.presenter?.showAlert(with: "All fields are required for adding exercise.".localized)
First question is this violation of Viper? And do I need to check data in presenter before passing it to interceptor?
Another question: Do I need to use function
showAlertFillIssue
instead of passing text?
Even let's say I will pass it from presenter
in case of violation of interactor
.
As described in https://TheSwiftDev.com/the-ultimate-viper-architecture-tutorial,