title: Get int from textField
body: <p>I'm new to cocoa.
  I create project where I have one textField and one button.
  I make function for button, where I start my other function and it's ok. But I need to take number value from textField as parameter for my function...like this:</p>
  
  <pre><code>@implementation AppController
  
  - (IBAction)StartReconstruction:(id)sender {
      int RecLine = //here i need something like textField1.GetIntValue();
      drawGL(RecLine);
  }
  @end
  </code></pre>
  
  <p></p>
  
  <p>In IB I only create number formated text field. But I don't know how to call it from code :(</p>
  
  <p>thanks for help </p>