Hi! I had an old Core Data Entity, with relationship to AnotherEntity
@property(nonatomic, retain) AnotherEntity *anotherEntity;
In AnotherEntity.h a have an attribute
@property(nonatomic, retain) NSString *title;
I've modified some of Entity's attributes (added new one) so after generating new NSManagedObject subclass Xcode generated 4 new classes: Entity.h, Entity.m, Entity+CoreDataProperties.h and Entity+CoreDataProperties.m
Previously AnotherEntity.h had been imported in Entity.h, but this time Xcode imported it in Entity.m. So trying to access entity.anotherEntity.title gives me error Property 'title' cannot be found in forward class object
I've solved it, importing in Entity.h, but wonder if it's correct and Xcode was wrong importing in .m or it's me doing something wrong?