Index

RBFormView

Properties

contentMode

Type: UIViewContentMode

The content mode of the view.

Options:

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

fieldLabel_[groupThemeIdentifier]

Type: UIView

The theme of the field label accompanying a field. The identifier will be the same as the fields group identifier.

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.

userInteractionEnabled

Type: boolean

Whether or not the view allows user interaction.

formInputToolbar

Type: RBFormInputToolbar

The theme of the input view (keyboard etc) toolbar.

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.

tintColor

Type: UIColor

The tint color of the view.

toasts

Type: RBToastAlertView

The theme of toasts shown when displaying a validation.

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.

cancelButton

Type: RBButton

The theme of cancel buttons. Schema - RBFormCancelButtonSchema.

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

submitButton

Type: RBButton

The theme of submit buttons. Schema - RBFormSubmitButtonSchema.

positioner

Type: RBPositioner

The theme of the positioner. The properties for this will depend on the assigned RBPositioner.

[identifier]

Type: UIView

The theme of the item or field with the specified identifier.

layerShadowRadius

Type: decimal

The shadow radius to use on the view in pt.

fieldLabel_[identifier]

Type: UIView

The theme of the field label accompanying a field. The identifier will be the same as the fields identifier.

backgroundColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

layerShadowOffset

Type: CGSize

The shadow offset to use.

tooltips

Type: RBTooltipView

The theme of tooltips shown when displaying a validation.

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

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.

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.

[groupThemeIdentifier]

Type: UIView

The theme of the all items that match the provided groupThemeIdentifier.