I'm trying to share my CoreData store with my Today extension. I've followed all the posts about creating an app group and adding my dataStore and Models to my extension target.
When I do this though, I get loads of errors on my Model in my extension target.
For instance this method
- (NSString *) currentHealthForPeriod
{
CGFloat healthValue = [[self currentPercentProgressForPeriodWithOffset:0.0] floatValue] - [[self budgetSpentThisPeriodAsPercentage] floatValue];
return [self healthDescriptionForHealthValue:healthValue];
}
Has errors for things like 'Use of undeclared identifier CGFloat' and 'Use of undeclared identifier healthValue' - like it doesn't know what a CGFloat is?? Or can't see I've declared healthValue. It's like this on every method.
It's very strange and unexpected. Can anyone help me figure this out? I'm going round in circles.
Cheers