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?

On Wed, Dec 9, 2009 at 5:53 PM, glenn andreas <gandr...@mac.com> wrote:

>
> On Dec 9, 2009, at 4:19 PM, Jack Carbaugh wrote:
>
> > So in this case, would the SUBview want to send the SUPERview the
> touchesbegan event ?
> >
>
> >From the documentation (iPhone Application Programming Guide > Event
> Handling > Touch Events > Handling Multi-Touch Events > Forwarding Touch
> Events):
>
>
> Forwarding Touch Events
> Event forwarding is a technique used by some applications. You forward
> touch events by invoking the event-handling methods of another responder
> object. Although this can be an effective technique, you should use it with
> caution. The classes of the UIKit framework are not designed to receive
> touches that are not bound to them; in programmatic terms, this means that
> the view property of the UITouch object must hold a reference to the
> framework object in order for the touch to be handled. If you want to
> conditionally forward touches to other responders in your application, all
> of these responders should be instances of your own subclasses of UIView.
>
>
>
> It's definitely worth reading, and re-reading, those docs - all sorts of
> nice explanations of how touch handling is handled can be found there...
>
>
> Glenn Andreas                      gandr...@gandreas.com
>  <http://www.gandreas.com/> wicked fun!
> Mad, Bad, and Dangerous to Know
>
> _______________________________________________
>
> 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/edolecki%40gmail.com
>
> This email sent to edole...@gmail.com
>



-- 
http://ericd.net
Interactive design and development
_______________________________________________

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