Hi everybody,
This is my first question on this forum... and it is also my first days with Mac development. In fact I come from Flex dev which had a very different event model.
Look at the
diagram in this page
I know that the "Bubbling" phase is possible with Cocoa, but I am interested in the "Capturing" phase. In that phase the parent views get a chance to trap an event before the child can handle it.
For instance what I want to do in my application is a kind of global application gesture (2 fingers top to bottom drag to open a utility panel) and I don't want any subview to react to this gesture. For instance a UITableView would scroll vertically, which would be confusing for the gesture. Here the capture phase would be helpful.
How would you implement such a thing in Cocoa ?
Thanks !!!
{Maz}