 }
 
 public enum NFTabControlViewIndicatorStyle {
-    case custom(CGFloat)
-    case max
+    case tabWidth
     case dot
 }
 

public protocol NFTabControlViewDelegate {
    
    func tabControlView(controlView: NFTabControlView, didSelectTabAt index: Int)
    /// Determines the number and titles of tabs.
    /// Tabs are arranged in the order provided in the array.
    func tabControlView(titlesForTabsIn controlView: NFTabControlView) -> [String]
    /// Sets the color of the text and indicator
    func tabControlView(colorFor controlView: NFTabControlView) -> UIColor
    /// Sets the font of the tab titles
    func tabControlView(fontFor controlView: NFTabControlView) -> UIFont?
    func tabControlView(fontForselectedTabIn controlView: NFTabControlView) -> UIFont?
    /// Sets the width of the indicator
    func tabControlView(indicatorSizeFor controlView: NFTabControlView) -> NFTabControlViewIndicatorStyle?
}


    }
    
    ///Apply delegate settings
    private func setup() {
        guard let delegate = delegate else {
            return
