Home News Forum Social Networking Support Us Advertise

Spanish Lesson 1 ($1.99)

aWake!Gently ($1.99)

The Bird & The Snail - Knock Knock - Deluxe ($4.99)

Match-It Trains ($0.99)

Tangled ($0.99)

iFlatter ($0.99)

The 15 puzzle ($0.99)

Tap Forms Database ($8.99)

Higher or Lower Card Game (Hi Lo) ($0.99)

Red Pixel ($0.99)

Time-Shift Radio ($0.99)

Want your application advertised here? Only $10/week!

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-08-2009, 11:32 AM   #1 (permalink)
maz
Junior Member
 
Join Date: Jan 2009
Posts: 1
Rep Power: 0
maz is on a distinguished road
Default Event handling

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}
maz is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Advertisements


» Stats
Members: 8,231
Threads: 20,199
Posts: 90,216
Top Poster: RickMaddy (2,121)
Welcome to our newest member, OneGlobe
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:44 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0