title: Property cannot be found in forward class object
body: <p>I'm adapting <a href="http://www.raywenderlich.com/725/how-to-read-and-write-xml-documents-with-gdataxml" rel="noreferrer">This tutorial</a> to my app, and I've got it boiled down to one last error, which is stopping me in my tracks. The program is unable to find a property in another file, but that property is clearly defined. Here is the code in question:</p>
  
  <p>The actual error line:</p>
  
  <pre><code>for (DTContact *dtc in _dtContact.contact) {
  </code></pre>
  
  <p>the .h for the file, and items in question:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @class XMLTestViewController;
  @class DTCXMLResponse;
  
  @interface XMLTestController : UIViewController{
      UIWindow *window;
      XMLTestViewController *viewController;
      DTCXMLResponse *_dtContact;
  }
  
  
  @property (nonatomic, retain) IBOutlet UIWindow *window;
  @property (nonatomic, retain) IBOutlet XMLTestViewController *viewController;
  @property (nonatomic, retain) DTCXMLResponse *dtContact;
  
  @property (nonatomic, retain) IBOutlet UIButton *mybutton;
  -(IBAction)buttonClicked;
  
  @end
  </code></pre>
  
  <p>It's having issues with the _dtContact.contact. It can't find the contact in the file DTCXMLResponse. Here is the .h file and the section of the .m:</p>
  
  <p>.h</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface DTContactXMLResponse : NSObject {
      NSMutableArray *_contact;
  }
  
  @property (nonatomic, retain) NSMutableArray *contact;
  
  @end
  </code></pre>
  
  <p>.m</p>
  
  <pre><code>#import "DTCXMLResponse.h"
  
  @implementation DTContactXMLResponse
  @synthesize contact = _contact;
  
  - (id)init {
  
      if ((self = [super init])) {
          self.contact = [[NSMutableArray alloc] init];
      }
      return self;
  
  }
  
  @end
  </code></pre>
  
  <p>So theres that. As you can see, I have 'contact' propertied in the DTCXMLResponse.h, and linked in the .m. </p>