title: Getting an int out of NSConcreteValue / NSValue
body: <p>I am trying to extract an int inside of a <code>NSValue</code> / <code>NSConcreteValue</code> instance. I tried to cast them this way, but it didn't work:</p>
  
  <pre><code>    NSValue *toValue = (NSValue *)someValue;
      NSNumber *toNumber = (NSNumber*)toValue;
      int final = [toNumber intValue];
  </code></pre>
  
  <p>I also tried using <code>getValue</code> but that also didn't work for me.</p>