I have a class method but when in header file, it doesn´t want to compile:”expected a type”
+(void)addCommentSectionIntoMonitoringReport:(NSString*)DBCommentName:(NSString*)keyName:(NSManagedObject*)outerObjectToDB:(NSDictionary *)monitoring_report;
but when I add:
#import "AppDelegate.h"
it works fine. Can you tell me why? What does AppDelegate has to do with NSManagedObject type?
Are you #importing
<CoreData/CoreData.h>in your .h?