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


import UIKit

class KeyboardStatus : NSObject {
    
    class var sharedInstance : KeyboardStatus {
        struct Static {
            static let instance : KeyboardStatus = KeyboardStatus()
        }

        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()
