title: iOS accessing NSObject class from my viewController
body: <p>I'm trying to access to another class from my viewcontoller but is not working:</p>
  
  <pre><code>viewcontroller.h
  
  #import &lt;UIKit/UIKit.h&gt;
  @class firstClass; //nsobject class
  
  
  @interface ViewController : UIViewController
  {
      firstClass *firstclass;
  
  }
  
  @property (retain,nonatomic) LEMZfirstClass *firstclass;
  
  ---
  firstClass.h:
  
  #import "LEMZViewController.h"
  
  
  @interface firstClass : NSObject
  {
      ViewController *viewController;
  }
  
  @property (retain,nonatomic) ViewController *viewController;
  
  
  -(void)doSomenthing;
  
  
  firstClass.m:
  
  @synthesize viewController;
  
  
  -(void)doSomenthing
  {
      viewController.firstclass=self;
      viewController.outPutLabel.text=@"This is my Label";
  }
  
  
  
  viewcontroller.m:
  
  @synthesize firstclass;
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      [firstclass doSomenthing];
  
  }
  </code></pre>
  
  <p>it compiles with no errors but the label is never updated and for that matter the first class is never call it all. What I'm doing wrong? I'll really appreciate your help.</p>