title: Objective Cconvert id(type) to NSNumber:Error
body: <p>i want to convert id* to NSNumber *</p>
  
  <p>trying this 
  <code>unsigned int ShortValue  = [(NSNumber *)idObject unsignedShortValue];</code></p>
  
  <p>but this aint compiling </p>
  
  <p><code>Cast of an indirect pointer to an Objective-C pointer to 'NSNumber *' is disallowed with ARC</code></p>
  
  <p>any ideas how to do it.
  basically id* object will be argument to my method ,second argument will be type information of this id* object then inside this method i am  performing type specific methods on it like one above</p>