What is the place for the NSFetchedResultsController in VIPER architecture?

In VIPER , unlike MVC, a role and a place that are not so clearly defined for NSFetchedResultsController.

Is it right to place it on the interactor?

+4
source share
2 answers

According to this article , the interactor does not need to know how to save objects.

VIPER and architecture using NSFetchResultController are different approaches. There is no right place for NSFetchResultController in VIPER.

VIPER is good for a large application, as it provides architecture levels that are well insulated.

NSFetchResultController , .

+2

NSFetchedResultsController - Core Data . .

, , VIPER , Interactor. Interactor, Interactor . .

0

Source: https://habr.com/ru/post/1648342/


All Articles