title: How to programmatically setup a CallBacks for a UIButton?
body: <p>Manually built:</p>
  
  <pre><code>[btnRun addTarget:self action:@selector(RunApp:) forControlEvents:UIControlEventTouchUpOutside];
  </code></pre>
  
  <hr>
  
  <p>Programmatically built: something of the following like ??</p>
  
  <pre><code>- (void) setRunButton:(UIButton*)objectName mySelector:(NSString*)funcName myControlEvent:(NSString*) controlEvent
  {
      [objectName addTarget:self action:@selector(funcName) forControlEvents:controlEvent];
  }
  </code></pre>