I'm trying to make my first framework for iOS.
I have core data in it, in my xcdatamodel
I have two entites
, I auto generated classes for both models, but when I print [[managedObjectModel entities] valueForKey:@"name"]
I see only first entity.
Also when I try to init fetchRequest withEntityName
of second entity I don't see it at all.
And the weirdest thing is that for first entity everything works perfectly. Also if I do updates inside first entity I can see it, so I believe that it has the latest version.