title: How can I retrieve a textfields text and store it as an integer 32 in core data?
body: <p>I'm trying to get the textfields text, convert it to an int, and store it in a core data integer 32 attribute. I'm getting an error in the process:</p>
  
  <pre><code>Implicit conversion of 'int' to 'NSNumber' disallowed  with arc
  </code></pre>
  
  <p>Here is What I've tried:</p>
  
  <pre><code>// trying to convert
  int intLength = [self.length.text intValue];
  
  // trying to set the current garden attribute to the converted int
  self.currentGarden.length = intLength;
  </code></pre>
  
  <p>How can I fix this?</p>