 @IBDesignable class KeyboardKey: UIControl {
     
     var keyView: KeyboardKeyBackground
+    var popup: KeyboardKeyPopup?
     
     @IBInspectable var text: String! {
     didSet {

        
//        self.button.setTitle(self.text, forState: UIControlState.Normal)
        self.keyView.text = (self.text ? self.text : "")
    }
    
    class KeyboardKeyBackground: UIControl {

            CGPathRelease(path)
        }
    }
    
    class KeyboardKeyPopup: UIControl {
        
        init(frame: CGRect, vertical: Bool) {
            super.init(frame: frame)
            self.layer.backgroundColor = UIColor.redColor().CGColor
        }
        
        // if action is nil, the key is not selectable
        func addOption(option: String, action: String?) {
        }
    }
}
