title: How does the UIButton @selector works?
body: <p>I'm pretty new at iOS dev, and I wonder how works this line :</p>
  
  <pre><code>[myButton addTarget:self action:@selector(doSomething:) forControlEvents:UIControlEventTouchUpInside];
  </code></pre>
  
  <p>I simply tried this :</p>
  
  <pre><code>- (void) doSomething : (id) sender
  {
     NSLog(@"Test");
  }
  </code></pre>
  
  <p>But it doesn't work. What am I doing wrong ?</p>