DEV Community

Oluwasanmi Aderibigbe
Oluwasanmi Aderibigbe

Posted on

1

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.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay