 
     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
     }()
 

        scalingImageView.frame = view.bounds
        view.addSubview(scalingImageView)

        view.addGestureRecognizer(doubleTapGestureRecognizer)
        view.addGestureRecognizer(longPressGestureRecognizer)
    }

        super.viewWillLayoutSubviews()

        scalingImageView.frame = view.bounds

        loadingView.center = CGPoint(x: view.bounds.midX, y: view.bounds.minY)
    }

    // MARK: Selectors
