views:

13

answers:

1

I know this must seem like an extremely basic question for most iphone devs, but so far have been putting all my code logic into a single view controller, and want to start making better use of delegates, breaking up my code into logical components.

I have a simple ViewController based application and want to add tap detection. There is a TapDetectingView UIView subclass already in the reference library samples so I want to make use of this. http://developer.apple.com/iphone/library/samplecode/ScrollViewSuite/Listings/3_Tiling_Classes_TapDetectingView_m.html#//apple_ref/doc/uid/DTS40008904-3_Tiling_Classes_TapDetectingView_m-DontLinkElementID_24

My question How do I associate my UIVIew object, created from the library using IB, with this TapDetectingView class?