How to create custom events?
<p>I have a view1 with a subview view2, where i have a UIButton button that has fires an action soSomething:</p>

<p>view1
--view2
----IBOutlet UIButton *button
-----(IBAction) doSomethingid)sender</p>

<p>clicking the button calls doSomething.
now how can i dispatch a custom event in doSomething and catch it at the view1?</p>

<p>eg in view2:</p>

<p>Code:</p>

<pre><code>-(IBAction)doSomething:(id)sender{
  // Disptach the event for the parent "superView" to receive

}
</code></pre>

<p>then in view1 have something that handles that event.</p>

<p>please help </p>
