I'm starting with Objective-C and I have a problem.
The compiler is giving me this error message:
Semantic Issue: Use of undeclared identifier
And this is the main.m
code:
#import <UIKit/UIKit.h>
#import "HMJAppDelegate.h"
int main(int argc, char *argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([HMJAppDelegate class]));
}
}
This error is in the main.m file.
How can I fix the problem?