Help with Expected identifier or '('
I've been using a simple tutorial to start coding but can't resolve an error which keeps appearing, namely: expceted indetifier or'('
It concerns my 3rd line -(IBAction)...
Please help me :)
Code:
#import "StoryCalViewController.h"
@interfaceStoryCalViewController ()
-(IBAction)info:(id)sender;{
NSString *message = [[NSString alloc] initWithString:@"Samuel Ford"];
mylabel.text = message;
}
@end
@implementation StoryCalViewController
- (void)viewDidLoad
{
[superviewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning
{
[superdidReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end