title: Expected { before interface
body: <p>Why am I getting the above compilation error in all of my source files after creating editing this file:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @protocol FlipsideViewControllerDelegate;
  
  
  @interface FlipsideViewController : UIViewController {
      id &lt;FlipsideViewControllerDelegate&gt; delegate;
      UITextField *textField;
  }
  @property (nonatomic, retain) IBOutlet UITextField *textField;
  
  
  @property (nonatomic, assign) id &lt;FlipsideViewControllerDelegate&gt; delegate;
  - (IBAction)done:(id)sender;
  @end
  
  
  @protocol FlipsideViewControllerDelegate
  - (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
  @end
  
  -(IBAction) textChanged:(id) sender;
  </code></pre>
  
  <p>After editing my flipsidecontroller.h to look like this. I get the error in all of my other source files. Like this one:</p>
  
  <pre><code>    //  MainViewController.h
  //  MVC
  //
  //  Created by Nick Martin on 3/31/11.
  //  Copyright 2011 Nick. All rights reserved.
  //
  
  #import "FlipsideViewController.h"
  
  @interface MainViewController : UIViewController &lt;FlipsideViewControllerDelegate&gt; {
      UILabel *label;
  }
  
  @property (nonatomic, retain) IBOutlet UILabel *label;
  
  - (IBAction)showInfo:(id)sender;
  
  @end
  </code></pre>
  
  <p>It is complaining about the interface declaration for each of my controllers???</p>
  
  <p>Thanks in advance for the help!</p>
  
  <p>Update - put the textChanged event into the interface</p>
  
  <pre><code>//  FlipsideViewController.h
  //  MVC
  //
  //  Created by Nick Martin on 3/31/11.
  //  Copyright 2011 Nick Martin. All rights reserved.
  //
  
  #import &lt;UIKit/UIKit.h&gt;
  
  
  @protocol FlipsideViewControllerDelegate;
  
  
  @interface FlipsideViewController : UIViewController {
      id &lt;FlipsideViewControllerDelegate&gt; delegate;
      UITextField *textField;
  }
  @property (nonatomic, retain) IBOutlet UITextField *textField;
  
  
  @property (nonatomic, assign) id &lt;FlipsideViewControllerDelegate&gt; delegate;
  - (IBAction)done:(id)sender;
  @end
  
  -(IBAction) textChanged:(id) sender;  //DOH!!! 
  
  @protocol FlipsideViewControllerDelegate
  - (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
  @end
  </code></pre>