Ожидаемый идентификатор или & #39; (и #39; до NSInteger

Я новичок в разработке iPhone и Objective -C, так что извините, если это уже было спросили. Я работал над некоторым кодом, и время от времени эта ошибка продолжает появляться, сообщая мне ожидаемый идентификатор или «(» до того, как ожидается NSInteger.

#import "tableTutViewController.h"


@implementation tableTutViewController; 

(NSInteger)tableView:(UITableView)tableView numberOfRowsInSection:(NSInteger)section{
    return tutorials.count;
} 

- (void)viewDidLoad {
    NSString * theFile = [[NSBundle mainBundle]
                          pathForResource:@"TPL" ofType:@"plist"];
    tutorials = [[NSArray alloc] initWithContentsOfFile:theFile];
    [super viewDidLoad];
} 

- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];

    // Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
} 

- (void)dealloc {
    [super dealloc];
}

@end
0
задан C4 - Travis 7 May 2012 в 18:25
поделиться