DEV Community

Oluwasanmi Aderibigbe
Oluwasanmi Aderibigbe

Posted on

Day 61 of 100 Days of SwiftUI

I just started day 61 of 100 days of swiftui. I tried implementing offline support in the friendz app I created yesterday. But I ran into this issue and I have not been able to solve it.
error: No NSEntityDescriptions in any model claim the NSManagedObject subclass 'Friendz.UserModel' so +entity is confused. Have you loaded your NSManagedObjectModel yet ?

I'm guessing I didn't set up CoreData correctly or something. I will try again in the evening and update this post with my findings. If you know how to solve this, please reach out.

Discussion (0)