             guard panGestureRecognizer != nil else {
                 return
             }
-            panGestureRecognizer.maximumNumberOfTouches = maximumNumberOfTouches
+            panGestureRecognizer?.maximumNumberOfTouches = maximumNumberOfTouches
         }
     }
     

            guard panGestureRecognizer != nil else {
                return
            }
            panGestureRecognizer.minimumNumberOfTouches = minimumNumberOfTouches
        }
    }
    

    
    /// Pan gesture for the swiping interaction
    //swiftlint:disable next implicitly_unwrapped_optional
    private var panGestureRecognizer: UIPanGestureRecognizer?

    @available(*, deprecated, message: "For the moment the diagonal swipe configuration is not available.")
    /// Toggle the diagonal swipe to remove the just `perfect` horizontal swipe interaction
