title: Error : unrecognized selector sent to class
body: <p>I am a complete noob when it comes to Objective C (or even for OOP for that matter). Here is what I am trying to do </p>
  
  <h2>    AInterface.m</h2>
  
  <pre><code>@implementation AInterface
  
   - (BOOL)getParam:(NSData **)a param1:(NSData**)param1 param2:(NSData**)param2
  {
  
         //Do a bunch of things
         return bool;
  } 
  
  @end
  </code></pre>
  
  <h2>    AInterface.h</h2>
  
  <pre><code>@interface AInterface : NSObject
  
  - (BOOL)getParam:(NSData **)a param1:(NSData**)param1 param2:(NSData**)param2;
  
  + (instancetype) inst;
  @end
  </code></pre>
  
  <h2>    testMain.m()</h2>
  
  <pre><code>int main()
  {
      Bool result = NO;
      NSData *a = Nil;
      NSData *b = Nil;
      NSData *c = Nil;
  
      result = [[AInterface inst] getParam:(NSData **)&amp;a param1:(NSData**)&amp;a param2:(NSData**)&amp;b];
  
      return result 
  }
  </code></pre>
  
  <p>When I run this though, I get an error saying failed: </p>
  
  <pre><code> caught "NSInvalidArgumentException", "+[AInterface inst]: unrecognized selector sent to class 
  </code></pre>