   public var keyboardLayout: CustomKeyboardLayout!
   public var keyboardStyle = CustomKeyboardLayoutStyle() {
     didSet {
-      keyboardLayout = CustomKeyboardLayout(style: keyboardStyle)
-    }
-  }
-
-  public weak var delegate: CustomKeyboardDelegate?
+      keyboardLayoutStyleDidChange()
+    }
+  }
 
   // MARK: CustomKeyobardShiftState
   public enum CustomKeyboardShiftState {

    }
  }

  // MARK: Init
  public init() {
    super.init(frame: CGRect.zero)

  }

  private func defaultInit() {
    keyboardLayoutStyleDidChange()
    keyboardLayoutStateDidChange(oldState: nil, newState: keyboardLayoutState)
  }

