Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

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
New Member
 
Join Date: Jan 2009
Posts: 1
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


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,320
Threads: 39,117
Posts: 171,512
Top Poster: smasher (2,576)
Welcome to our newest member, xX Holllish Xx
Powered by vBadvanced CMPS v3.1.0

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