     case fill
 }
 
+let defaultFontSize: CGFloat = 16
+let highlightFontSize: CGFloat = 18
+let kTag: NSInteger = 1000
+
 public class UISegmentedMenu: UIView {
     
     public var titleDataSource: NSArray?
     public var contentDataSource: NSArray?
-    
-    let kTag: NSInteger = 1000
+
     let min = { (float1: CGFloat, float2: CGFloat) -> CGFloat in
         return float1 > float2 ? float2 : float1
     }

    func clickSegmentedButton(button: UIButton) {
        let lastSelectedButton: UIButton = self.contentView?.viewWithTag(selectedIndex! + kTag) as! UIButton
        lastSelectedButton.isSelected = false
        
        selectedIndex = button.tag - kTag
        button.isSelected = true

        delegate?.segmentedMenu(didSelectIndex: selectedIndex!)
        UIView.animate(withDuration: 0.1) {
            self.divideView?.frame = CGRect(x: totalWidth - offsetX, y: (self.divideView?.frame.origin.y)!, width: selectedWidth, height: (self.divideView?.frame.size.height)!)
            button.titleLabel?.font = UIFont.systemFont(ofSize: highlightFontSize)
        }
    }
    
