title: Error in Obj-C : Expected identifier or '('
body: <p>I'm trying to make a simple app with a button a score counter and a timer but I'm getting some errors</p>
  
  <pre><code>    #import &lt;UIKit/UIKit.h&gt;
  
  @interface xyzViewController : UIViewController
  {
  IBOutlet UILabel *scoreLabel;
  IBOutlet UILabel *timerLabel;
  NSInteger count;
  NSInteger seconds;
  NSTimer *timer;
  }
  - (IBAction)buttonPressed  //Expected ';' after method prototype
  {
  count++
  scoreLabel.text = [NSString stringWithFormat:@"Score \n %i", count]
  }
  @end
  </code></pre>
  
  <p>If I add ';' I get this instead: </p>
  
  <pre><code>- (IBAction)buttonPressed;
  {                        //Expected identifier or '('
  count++
  scoreLabel.text = [NSString stringWithFormat:@"Score \n %i", count]
  }
  @end
  </code></pre>
  
  <p>What I must to do?</p>