     open override var intrinsicContentSize: CGSize {
         return CGSize(width: width, height: 49)
     }
+    
+    /// The currently selected button.
+    open var selected: UIButton?
     
 	/// Buttons.
 	open var buttons = [UIButton]() {

	/// Handles the button touch event.
    @objc
	internal func handleButton(button: UIButton) {
		UIView.animate(withDuration: 0.25, animations: { [weak self] in
			if let s = self {
				s.line.x = button.x
				s.line.width = button.width

}

open class TabBar: View {
    /// Will render the view.
	open var willRenderView: Bool {
		return 0 < width && 0 < height && nil != superview
	}
