Post

Replies

Boosts

Views

Activity

Comment on No NSEntityDescriptions in any model claim the NSManagedObject subclass 'CoreDataExampleTests.TodoMO' so +entity is confused
So in my case, I set the context when initializing the DataManager case .testing: let persistentStore = PersistentStore(inMemory: true) self.managedObjectContext = persistentStore.context I could intialise the datamanager in the setUp. EDIT: no difference. Not sure how else to set up the context.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’22