Index

RBMenuSegmentView

Properties

contentMode

Type: UIViewContentMode

The content mode of the view.

Options:

  • right
  • scaleaspectfill
  • bottomleft
  • bottom
  • bottomright
  • left
  • top
  • redraw
  • scaleaspectfit
  • scaletofill
  • center
  • topleft
  • topright

clipsToBounds

Type: boolean

Whether or not the view clips to bounds.

toastAlertView

Type: RBToastAlertView

The theme of the managed toast alerts on the view.

backgroundColor

Type: UIColor

The background color of the view.

buttonHeights

Type: decimal

The height of buttons (including toggle buttons) in pt.

userInteractionEnabled

Type: boolean

Whether or not the view allows user interaction.

hidden

Type: boolean

Whether or not the view is hidden.

borderColor

Type: UIColor

The color to use on the border on the view.

borderColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

activityView

Type: RBActivityView

The theme of the managed activity indicator on the view.

singleButton

Type: RBButton

The optional theme if there is only a single item.

tintColor

Type: UIColor

The tint color of the view.

layerShadowColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

tintColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

customButton_[identifier]

Type: UIView

The optional theme of the custom button view for the specified identifier.

layerShadowOpacity

Type: decimal

The shadow opacity to use on the view.

corners

Type: UIRectCorner

The corners that should be rounded.

Options:

  • bottomleft
  • all
  • bottomright
  • topleft
  • topright

firstButton

Type: RBButton

The optional theme for the button if it is in the first position.

positioner

Type: RBGridPositioner

The theme of the positioner. This positions the header and the button container.

layerShadowRadius

Type: decimal

The shadow radius to use on the view in pt.

backgroundColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

firstCustomButton

Type: UIView

The optional theme for the custom button if it is in the first position.

layerShadowOffset

Type: CGSize

The shadow offset to use.

header

Type: RBMenuSegmentHeaderView

The theme of the header of the segment.

lastButton

Type: RBButton

The optional theme for the button if it is in the last position.

button_[identifier]

Type: RBButton

The optional theme of the button for the specified identifier.

pillCorners

Type: UIRectCorner

Apply a pill effect. Note this will override any effect of the 'corners' and 'cornerRadius' properties.

Options:

  • bottomleft
  • all
  • bottomright
  • topleft
  • topright

customButton

Type: UIView

The theme of the custom button view. Theming options depend on the view.

singleCustomButton

Type: RBButton

The optional theme if there is only a single custom button.

customButtonHeights

Type: decimal

The height of custom buttons in pt.

borderEdges

Type: UIRectEdge

The edges on which to apply a border.

Options:

  • all
  • none
  • left
  • bottom
  • right
  • top

borderWidth

Type: decimal

The width of the border to use on the view in pt.

buttonPositioner

Type: RBGridPositioner

The theme of the button positioner. This positions the buttons

alpha

Type: decimal (0.0 - 1.0)

The alpha channel of the view.

layerShadowColor

Type: UIColor

The color to use for the shadow on the view.

cornerRadius

Type: decimal

The rounded corner radius to use on the view in pt.

lastCustomButton

Type: UIView

The optional theme for the custom button if it is in the last position.

buttons

Type: RBButton

The theme of button items.