         }
     }
     public static var keyboardAvoidingMode = KeyboardAvoidingMode.minimum
-    public static var avoidingBlock: ((Bool, CGFloat, CGFloat, UIViewAnimationOptions)->Void)? {
+    @objc public static var avoidingBlock: ((Bool, CGFloat, CGFloat, UIViewAnimationOptions)->Void)? {
         willSet {
             self.initialise()
         }

    private static var lastNotification: Foundation.Notification?
    private static var updatedConstraints = [NSLayoutConstraint]()
    private static var updatedConstraintConstants = [CGFloat]()
    private(set) static var isKeyboardVisible = false
    private static var avoidingViewUsesAutoLayout = false
    private static var triggerViews = [UIView]()
    private static var showingAnimationCount = 0
    
    public static var buffer: CGFloat = 0.0
    public static var paddingForCurrentAvoidingView: CGFloat = 0.0
    public static var padding: CGFloat = 0.0 {
        willSet {
            if self.paddingForCurrentAvoidingView == newValue {
                // if paddingCurrent has been set explicitly, dont reset it

    }
    
    // The triggerView is required if the avoidingView isn't nil
    @objc public class func setAvoidingView(_ avoidingView: UIView?, withTriggerView triggerView: UIView) {
        self.setAvoidingView(avoidingView, withOptionalTriggerView: triggerView)
    }
    
