         if context == &myContext {
             self.maximumZoomScale = calculateMaximumScale()
         } else {
-            super.observeValueForKeyPath(keyPath!, ofObject: object!, change: change!, context: context)            
+            super.observeValueForKeyPath(keyPath!, ofObject: object!, change: change!, context: context)
         }
     }
     

        self.zoomEnabled = zoomEnabled
        super.init(frame: CGRectNull)
        imageView.addObserver(self, forKeyPath: "image", options: .New, context: &myContext)

        image.setToImageView(imageView)
        
        imageView.clipsToBounds = true

    }
    
    private func calculateMaximumScale() -> CGFloat {
        return 2.0
    }
    
    private func setPictoCenter(){
