Image Viewer Using ScrollView Zoom and Pan Gesture

 

Image Viewer using scroll view zoom and pan effect. Adapted from villyg GitHub (https://github.com/villyg/PhotoSlideShow-Swift)

and also Referenced (https://stackoverflow.com/questions/38855581/zooming-into-an-image-from-users-touch-point-with-uiscrollview-in-swift)

source code at https://github.com/geoo993/Learning-ios8-and-Swift-Course/tree/master/LearningSwiftCourse/LearningSwiftCourse/ImageViewerExample