     private var contentInsetBottoms = [CGFloat]()
     private var targetInputViewPoint = [CGPoint]()
     
+    //MARK: public property
+    
+    /// UIKeyboardWillShowNotification时为true，UIKeyboardDidShowNotification时为false
+    public var isKeyboardWillShow = false
+    /// UIKeyboardWillHideNotification时为true，UIKeyboardDidHideNotification时为false
+    public var isKeyboardWillHide = false
+    
+    
+    //MARK: life methods
+    
     /**
      适用于所有的输入视图(textField、textview)都在ViewController的view中
      

import Foundation

public class XBKeyboardManager {
    private var inputViews = [UIView]()
    private var commonScrollView: UIScrollView?
    private weak var viewController: UIViewController? { return getViewContoller() }

        targetInputViewPoint.removeAll()
    }
    
    @objc private func didHideKeyboard(notification: NSNotification) {
        isKeyboardWillHide = false
    }
    
    //MARK: - private utils methods
    
