title: iPhone add event for a button in different class
body: <p>I have a view controller let's call it "View Controller A".
  I have a different class(derived from NSObject and in .h and .m pair), let's call this class "B".
  From a function of "B" I am adding a button in "A" using addSubView.
  The button is getting added but now I want to attach an event to this newly button.
  I am using </p>
  
  <pre><code>[newButton addTarget:self etc. etc.]
  </code></pre>
  
  <p>but it isn't working.</p>
  
  <p>I don't want to declare the event in View Controller "A".
  Is there any way to get rid of this?</p>
  
  <p>Thanks all for reading this..</p>