         keyboardAnimationCurve = UIViewAnimationCurve.fromRaw(userInfo.objectForKey(UIKeyboardAnimationCurveUserInfoKey).integerValue)
     }
     
-    @objc func keyboardWillHide(notification : NSNotification) {
+    func keyboardWillHide(notification : NSNotification) {
         keyboardShowed = false
         keyboardEndFrame = nil
         keyboardAnimationDuration = nil

        NSNotificationCenter.defaultCenter().removeObserver(self)
    }
    
    @objc func keyboardDidShow(notification : NSNotification) {
        keyboardShowed = true
        
        let userInfo = notification.userInfo as NSDictionary

        unregisterNotifications()
    }
    
    public var keyboardShowed = false
    public var keyboardBeginFrame : CGRect?
    public var keyboardEndFrame : CGRect?
    public var keyboardAnimationDuration : Float?
    public var keyboardAnimationCurve : UIViewAnimationCurve?
    
    func registerNotifications() {
        let nc = NSNotificationCenter.defaultCenter()
