title: Auto Boxing of primitives
body: <p>I can't seem to figure out how to get Objective-c to auto box my primitives.</p>
  
  <p>I assumed that i would be able to do the following</p>
  
  <pre><code>float foo = 12.5f;
  NSNumber* bar;
  
  bar = foo;
  </code></pre>
  
  <p>However i find that i have used to the more verbose method of</p>
  
  <pre><code>float foo = 12.5f;
  NSNumber* bar;
  
  bar = [NSNumber numberWithFloat:foo];
  </code></pre>
  
  <p>Am i doing it wrong or is this as good as it gets?</p>