title: UIButton addTarget: Call a method from another class
body: <p>Idea below the code is to have an interaction between two classes. When pressing the button, I want to print a statement in another class.
  When I press the button I could not print "Test". </p>
  
  <p><strong>Buttonclass.m:</strong></p>
  
  <pre><code> HjulGenkendelse *hjulRecognizer = [[HjulGenkendelse alloc] init];
      [knap addTarget:hjulRecognizer action:@selector(hjul:) forControlEvents:UIControlEventTouchUpInside];
  </code></pre>
  
  <p><strong>HjulGenkendelse.h</strong></p>
  
  <pre><code> @interface HjulGenkendelse : UIGestureRecognizer
   - (void)hjul:(UIButton *) sender;
  </code></pre>
  
  <p><strong>HjulGenkendelse.m</strong></p>
  
  <pre><code>- (void)hjul:(UIButton *) sender
  {
    NSLog(@"Test!");
  }
  </code></pre>
  
  <p>Does someone have any solution to my problem ?</p>
  
  <p>Thanks by advance :)</p>