     }
   }
 
-  override init(frame: CGRect) {
-    super.init(frame: frame)
-  }
+  override init(frame: CGRect) { super.init(frame: frame)}
   required public init?(coder aDecoder: NSCoder) { fatalError("init(coder:) has not been implemented") }
 }

  public var changed: () -> () = {}
  public var segmentTapped: () -> () = {}

  public var style: IndicatorStyle = .Underline { didSet { } }

  public var textColorFollowedByIndicator = false {
    didSet { indicatorConstraints() }

    super.layoutSubviews()
    labels.forEach { (tab) -> () in
      switch style {
      case .cover:
        tab.fillSuperview()
      default:
//        tab.fillSuperview()
        tab.anchorInCenter(withWidth: width / titles.count.cgFloat , height: size)
      }
    }
