I am developing an iOS app in objective c. For one of the screens I have a horizontal UICollectionView (let's call it collectionView), the cell of which adds a UIView (let's call it myView) as its subview. Both of these views (collectionView and myView) are hosted in a View Controller through an XIB. There is one other UIImageView (let's call it imageView) hosted as a subview in myView. There are a few gestures (pinching, tapping, etc) added to myView which are reflected on the imageView.
I want to add a swipe gesture to one of the views (not sure which one). When a user swipes on the screen, the swipe gesture should be handled by the collectionView (and it should scroll to the next cell). The rest of the gestures defined (pinching, tapping, etc) should be handled by the respective subviews. Any help is much appreciated.