         }
     }
     
-    @objc public var buttonIconColor = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1.000) {
+    @objc public var buttonIconColor = UIColor.white {
         didSet {
             buttonView.iconColor = buttonIconColor
         }
     }
     
     
-    @objc public var itemColor = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1.000) {
+    @objc public var itemColor = UIColor.white {
         didSet {
             
         }

        }
    }
    
   
    
    func open() {
        isOpen = true
    }
    
    func close() {
        isOpen = false
    }
    
    func executeAction(at index: Int) {
        guard index >= 0 && index < items.count else {

        super.init(coder: aDecoder)
        setup()
    }
}
    
fileprivate extension JJFloatingActionButton {

    // MARK: Touches
    
    open override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        super.touchesBegan(touches, with: event)
    }
    
    open override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        super.touchesEnded(touches, with: event)
        
        guard touches.count == 1 else {
            return
        }
        guard let touch = touches.first else {
            return
        }
        let point = touch.location(in: self)
        guard bounds.contains(point) else {
            return
        }
        
        didTap()
    }
    
    open override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
        super.touchesCancelled(touches, with: event)
    }
    
    open override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
        return super.hitTest(point, with: event)
    }
    
}

fileprivate extension JJFloatingActionButton {
    
    func setup() {
        backgroundColor = UIColor.clear
        clipsToBounds = false
        
        addSubview(buttonView)
        buttonView.snp.makeConstraints { make in
            make.center.equalTo(self)
            make.width.equalTo(buttonView.snp.height)
            make.size.lessThanOrEqualTo(self)
            make.size.equalTo(self).priority(.high)
        }
        
        configure()
    }
    
