title: Objective C Types as parameter
body: <p>Okay I am not asking HOW to get a parameter when calling a method or something.</p>
  
  <p>I want something like this:</p>
  
  <pre><code>-(void)doSomethingWithType:(TYPE)type {
  
  //do something
  
  }
  </code></pre>
  
  <p>and executed like this:</p>
  
  <pre><code>[self doSomethingWithType:int];
  </code></pre>
  
  <p>or</p>
  
  <pre><code>[self doSomethingWithType:BOOL];
  </code></pre>
  
  <p>How can I make a parameter of a method/function that has a type as parameter? I mean any type.. :)</p>
  
  <p>I dont want to make a int parameter, I want to make a int-type parameter, where you write the objective c type as parameter and not a value or variable :)</p>
  
  <p>Thanks!</p>