         setFromNotification(notification)
         height = (notification.userInfo![UIKeyboardFrameEndUserInfoKey] as NSValue).CGRectValue().size.height
 
-        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.KeyboardWillShow, object: nil)
+        postNotification(Notifications.KeyboardWillShow, self)
     }
 
     @objc
     func didShow(notification : NSNotification) {
-        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.KeyboardDidShow, object: nil)
+        postNotification(Notifications.KeyboardDidShow, self)
     }
 
     @objc


class Keyboard {
    struct Notifications {
        static let KeyboardWillShow = "com.Ello.Keyboard.KeyboardWillShow"
        static let KeyboardDidShow = "com.Ello.Keyboard.KeyboardDidShow"
        static let KeyboardWillHide = "com.Ello.Keyboard.KeyboardWillHide"
        static let KeyboardDidHide = "com.Ello.Keyboard.KeyboardDidHide"
    }

    class func shared() -> Keyboard {

        setFromNotification(notification)
        height = 0

        postNotification(Notifications.KeyboardWillHide, self)
    }

    @objc
    func didHide(notification : NSNotification) {
        postNotification(Notifications.KeyboardDidHide, self)
    }

    private func setFromNotification(notification : NSNotification) {
