It would help to set a delegate property which is separate from the delegate property for UIScrollViewDelegate. Currently PZPhotoView inherits from UIScrollView and calls setZoomScale:animated: which is a method on UIScrollView which requires the viewForZoomingInScrollView: to be implemented on PZPhotoView. That's just awkward. 
It would help to set a
delegateproperty which is separate from thedelegateproperty forUIScrollViewDelegate. CurrentlyPZPhotoViewinherits fromUIScrollViewand callssetZoomScale:animated:which is a method onUIScrollViewwhich requires theviewForZoomingInScrollView:to be implemented onPZPhotoView. That's just awkward.