title: Change NSString to int value?
body: <p>I am having trouble trying to run this test due to an error on the first line of this code that states: </p>
  
  <blockquote>
    <p>Incompatible pointer to integer conversion initializing 'int' with an
    expression of type 'NSString *'</p>
  </blockquote>
  
  <pre><code>- (IBAction)Button:(id)sender 
  {
    int x = TramNumber.text;
    if (x &lt; 9)
    {
       Tramresult.text = [NSString stringWithFormat:@"lol"];
    }
    else
    {
      NSLog (@"x is less than 9!");
    }
  }
  @end
  </code></pre>
  
  <p>Please help. I am on iOS and running xCode 5.1.1 if that helps.</p>