     public var rotationAngle = defaultRotationAngle
     public var scaleMin = defaultScaleMin
     
-    weak var delegate: DraggableCardDelegate?
+    weak var delegate: DraggableCardDelegate? {
+        didSet {
+            configureSwipeSpeed()
+        }
+    }
     
     private var overlayView: OverlayView?
     private(set) var contentView: UIView?

    private func animationRotationForDirection(_ direction: SwipeResultDirection) -> CGFloat {
        return CGFloat(direction.bearing / 2.0 - Double.pi / 4)
    }

    
    private func swipeAction(_ direction: SwipeResultDirection) {
        overlayView?.overlayState = direction

                constant: 0)
            
            addConstraints([width,height,top,leading])
        }
    }
    
    func configureSwipeSpeed() {
        if let delegate = delegate {
            cardSwipeActionAnimationDuration = delegate.card(cardSwipeSpeed: self).rawValue
        }
    }
    
