title: Turn NSString into integer
body: <p>Sorry guys, I'm a noob. I know that some languages support type casting, but when I tried to do that here it failed, miserably. I've got an UITextField with number only pad, so I'm only getting numbers, and I need the output from that in my int, diff. Here's what I tried:</p>
  
  <pre><code>NSString *outputNumber = [NSString stringWithFormat:@"%d", [textBox.text]]; 
  diff = [outputNumber intValue]; //Not so much
  </code></pre>
  
  <p>What happens is my diff goes to some incredibly high number instead of the single digets I tested with. Any help I could get is great. Thanks :)</p>