On Dec 9, 2009, at 5:58 PM, Eric E. Dolecki wrote:

> Is there a way to define the touchesBegan in an added sub view to
> be constricted to a certain area and not allObjects? Thus leaving a "hole"
> to allow touches to be fired on the view below?

If I interpret your question correctly, you want the added sub-view to NOT 
handle touches?

If so, don't implement the touchesBegan/Moved/Ended methods in that sub-view.

Alternatively, simply disable user interaction for that sub-view.

Even more alternatively, I have found in many cases that handling touches in 
the View Controller
that manages the view hierarchy makes life easier.    You receive a touch and 
simply ask what
view it landed in.


    Cheers,
        . . . . . . . .    Henry




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to