@End Error
I am getting an error in my .m files. After writing a few lines of code. The error lies in line 3 'requires @end' and there is a warning next to the @end in line 8. This code is very basic, and I can't figure out how it's already messed up. I am using Xcode 4.x
1 #import "RootViewController.h"
2
3 @Implementation RootViewController
4
5 @synthesize tableArray;
6 @synthesize tableCell;
7
8 @end
My .h file looks like this:
#import <UIKit/UIKit.h>
@class TableViewCell; // custom cell design
@interface RootViewController: UITableViewController {
NSMutableArray *tableArray;
TableViewCell *tableCell; //defined in AppDelegate
}
@property (nonatomic, retain) NSMutableArray *tableArray;
@property (nonatomic, assign) IBOutlet TableCell *tableCell;
- (void)configureCell:(tableCell *)cell atIndexPath:(NSIndexPath *)indexPath;
@end
|