Hi I am trying to add a stepper to my app but got this error:
ViewController.h:
@interface ViewController : UIViewController {
IBOutlet UILabel *NrOfQuestLabel;}
-(IBAction)NrofQuestChange:(UIStepper *)sender;
ViewController.m:
-(IBAction)NrofQuestChange:(UIStepper *)sender:{ double value = [sender value];
[NrOfQuestLabel setText: [NSString stringWithFormat:@"%d", (int)value]];
}
Error in .m: !Expected identifier !"sender" used as the name of the previous parameter rather than as part of the selector
Any help?