I have a view1 with a subview view2, where i have a UIButton button that has fires an action soSomething:

```
view1
--view2
----IBOutlet UIButton *button
-----(IBAction) doSomethingid)sender

```

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

eg in view2:

Code:

```
-(IBAction)doSomething:(id)sender{
  // Disptach the event for the parent "superView" to receive

}

```

then in view1 have something that handles that event.