I have a UICollectionViewCell subclass that is supposed to hold an image in a UIImageView. In the cell I have a UIScrollView that holds the UIImageView so the UIImageView can zoom.
The question I have is where do I put the UIScrollViewDelegate? Putting it in the UICollectionViewCell seems like it would break MVC. I can't make the cell a property of the UIViewController the UICollectionView is in because that would break cell reuse in dequeueReusableCellWithReuseIdentifier. Does it go in the cell subclass, and if so, what's the proper UIView method for the delegate methods to go in?