title: iPhone: How can I access methods, variables, items from another .m file
body: <p>Rookie Question:
  I have my ViewController.m that is getting rather big. What is the way to "off-load" some (general purpose) code to another dot-something file (let's call it myStuff.m)?</p>
  
  <p>Or to rephrase the question: </p>
  
  <ol>
  <li>How I call a method from another .m file,</li>
  <li>How I can access a variable and</li>
  <li>How I can access an element (UIView) of another .m file.</li>
  </ol>
  
  <p>Example:
  In myStuff.m I want to do the following:</p>
  
  <pre><code>[ViewController ViewController_Method:@"bla"];
  yLocal = ViewController.xRemote;
  [ViewController.myText setText:@"bla-bla"];
  </code></pre>
  
  <p>What code do I have to add to my ViewController.m and how should the myStuff.m be set-up to do it?
  What is the (easiest) way of doing it?</p>