         scalingImageView.frame = view.bounds
         view.addSubview(scalingImageView)
 
+        view.addSubview(loadingView)
+
         view.addGestureRecognizer(doubleTapGestureRecognizer)
         view.addGestureRecognizer(longPressGestureRecognizer)
     }


        scalingImageView.imageType = photo.imageType
        scalingImageView.delegate = self
    }
    
    required init?(coder aDecoder: NSCoder) {


    private lazy var scalingImageView: ScalingImageView = {
        let view = ScalingImageView(frame: self.view.bounds, imageType: nil)
        return view
    }()

    private lazy var loadingView: UIActivityIndicatorView = {
        let view = UIActivityIndicatorView(activityIndicatorStyle: .White)
        view.hidesWhenStopped = true
        return view
    }()

