Great talk on refactoring! I've got a question: if you removed all references to Core Data from the vc, how would you (1/2)
Conversation
access managed object context from UpcomingTaskDataManager? Directly from CoreDataStore? (2/2)
1
Replying to
Interesting. How would you test such class? In similar cases I inject MOC, which allows me to use in-memory store in tests.
2
But I hate that I have to pass MOC through unrelated objects, e.g. view controllers that don't use Core Data directly.
1
Show replies

