title: Set an Integer value from one class to another
body: <p>I have been trying to set an Integer value from one class to another like below, but i can't do this.</p>
  
  <pre><code>@interface ClassA : UIViewController {
  
  }
  
  @property(nonatomic, assign) int m_selrow;
  + (void)setRowSelected : (int)selecetedRow;
  
  @end
  
  @implementation ClassA 
  
  + (void)setRowSelected : (int)selecetedRow {
      m_selrow = selecetedRow;
  
  }
  @end
  
  //Accessing from different Class,
  
  //Class B implementation:
  
  [ClassA setRowSelected:indexPath.row];
  </code></pre>
  
  <p>Problem is, it says "m_selrow is use of undeclared identifier from setRowSelected() method. How to properly use the variable and set it from another class.</p>