     
     public var maximumScale: CGFloat {
         get {
-            return self._scrollView.maximumZoomScale
+            return self._maximumZoomScale
         }
         set(newMaximumZoomScale) {
-            self._scrollView.maximumZoomScale = newMaximumZoomScale
+            self._maximumZoomScale = newMaximumZoomScale
         }
     }
     

            self._scrollView.zoomOut(animated: false)
        } else if currentZoomScale > maxScale {
            self._scrollView.zoomIn(animated: false)
        }
    }
}

        
        let threshold: CGFloat = self._zoomThreshold
        let belowThreshold: Bool = exactMinScale < threshold
        let maxScale: CGFloat = belowThreshold ? 1 : min(exactMinScale, self._maximumZoomScale)
        
        scrollView.minimumZoomScale = exactMinScale
        scrollView.maximumZoomScale = maxScale
