Index

Redbeard Theme Reference V1.0

RBSliderField

Properties

States

Property: invalidState

The theme to use when the field failed validation.

Property: validState

The theme to use when the field passed validation.


activityView

Type: RBActivityView

The theme of the managed activity indicator on the view.

alpha

Type: decimal (0.0 - 1.0)

The alpha channel of the view.

backgroundColor

Type: UIColor

The background color of the view.

backgroundColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

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.

borderEdges

Type: UIRectEdge

The edges on which to apply a border.

Options:

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

borderWidth

Type: decimal

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

contentHorizontalAlignment

Type: UIControlContentHorizontalAlignment

Options:

  • center
  • fill
  • right
  • left

contentMode

Type: UIViewContentMode

The content mode of the view.

Options:

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

contentVerticalAlignment

Type: UIControlContentVerticalAlignment

Options:

  • bottom
  • top
  • fill
  • center

cornerRadius

Type: decimal

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

corners

Type: UIRectCorner

The corners that should be rounded.

Options:

  • all
  • bottomleft
  • topleft
  • bottomright
  • topright

endImageView

Type: RBImageView

The theme of the image view of the nib of the end of the selected range.

endValueLabel

Type: RBImageView

The theme of the label showing the value of the end of the selected range.

hidden

Type: boolean

Whether or not the view is hidden.

labelsEnabled

Type: boolean

Whether or not to display the labels showing the start and end values.

layerShadowColor

Type: UIColor

The color to use for the shadow on the view.

layerShadowColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

layerShadowOffset

Type: CGSize

The shadow offset to use.

layerShadowOpacity

Type: decimal

The shadow opacity to use on the view.

layerShadowRadius

Type: decimal

The shadow radius to use on the view in pt.

margin

Type: UIEdgeInsets

The margin to provide around the content.

pillCorners

Type: UIRectCorner

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

Options:

  • all
  • bottomleft
  • topleft
  • bottomright
  • topright

rangeImageView

Type: RBImageView

The theme of the image view of the unselected range.

selectedRangeImageView

Type: RBImageView

The theme of the image view of the selected range.

spacing

Type: decimal

The spacing to provide between the child views in pt.

startImageView

Type: RBImageView

The theme of the image view of the nib of the start of the selected range.

startValueLabel

Type: RBImageView

The theme of the label showing the value of the start of the selected range.

tintColor

Type: UIColor

The tint color of the view.

tintColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

toastAlertView

Type: RBToastAlertView

The theme of the managed toast alerts on the view.