I'm saving the Managed Object Context, and am using the following to do it:
trainingDayObject = [NSEntityDescription entityForName:@"trainingDay" inManagedObjectContext:self.context];
It works, everything seems great, but I'm getting the warning:
Incompatible pointer types assigning to 'VitTrainingDay *' from 'NSEntityDescription *'
VitTrainingDay is an NSManagedObject Subclass of the Core Data entity TrainingDay.
trainingDayObject is an instance of VitTrainingDay
I've tried reading the docs on NSEntityDescription, but since I'm assigning to an Entity, I'm confused about what the problem is.
I'm pretty new to core data and Objective-C, so forgive me if this is really obvious. It's been bothering me for a few days now.