      - copyright: ©2016 Lionheart Software LLC
      - date: February 18, 2016
      */
-    public func deactivateKeyboardAdjustment() {
+    public func deactivateKeyboardAdjuster() {
         let notificationCenter = NSNotificationCenter.defaultCenter()
         notificationCenter.removeObserver(self, name: UIKeyboardWillHideNotification, object: nil)
         notificationCenter.removeObserver(self, name: UIKeyboardDidShowNotification, object: nil)

     - date: February 18, 2016
     */
    func keyboardDidShow(sender: NSNotification) {
        guard let conformingSelf = self as? KeyboardAdjusting else {
            return
        }

        if let constraint = conformingSelf.keyboardAdjustmentConstraint {
            if let block = sender.object as? (() -> Void) {
                block()
            }


import UIKit

public protocol KeyboardAdjuster {
    var keyboardAdjusterConstraint: NSLayoutConstraint? { get set }
    var keyboardAdjusterAnimated: Bool? { get set }
}

extension UIViewController {
    /**
     Activates keyboard Adjuster for the calling view controller.

     - seealso: `activateKeyboardAdjuster(showBlock:hideBlock:)`
     - author: Daniel Loewenherz
     - copyright: ©2016 Lionheart Software LLC
     - date: February 18, 2016
     */
    public func activateKeyboardAdjuster() {
        activateKeyboardAdjuster(nil, hideBlock: nil)
    }

    /**
     Enable keyboard Adjuster for the current view controller, providing optional closures to call when the keyboard appears and when it disappears.
     
     - parameter showBlock: (optional) a closure that's called when the keyboard appears
     - parameter hideBlock: (optional) a closure that's called when the keyboard disappears
