     }
 
     // MARK: Selectors
-
-    @objc private func photoImageUpdated(sender: NSNotification) {
-
-        // TODO: check photo
-
-        guard let photo = sender.object as? Photo else {
-            return
-        }
-
-        scalingImageView.imageType = photo.imageType
-
-        let needLoad = (scalingImageView.imageType?.image == nil)
-        if needLoad {
-            loadingView.startAnimating()
-        } else {
-            loadingView.stopAnimating()
-        }
-    }
 
     @objc private func didDoubleTap(sender: UITapGestureRecognizer) {
 

        return longPress
    }()

    struct Notification {

        static let photoImageUpdated = "PhotoViewControllerPhotoImageUpdatedNotification"
    }

    deinit {
        scalingImageView.delegate = nil



    override func viewDidLoad() {
        super.viewDidLoad()

        scalingImageView.frame = view.bounds
        scalingImageView.imageType = photo.imageType
