Index

Redbeard Theme Reference V1.0

RBManagedFormView : UIView

For theming the order of precendant is 'defaultThemeIdentifier' > `groupThemeIdentifier' > 'identfiers' > themeOverrides.

Properties


[groupThemeIdentifier]

Type: UIView

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

[identifier]

Type: UIView

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

accessoryToolbarView

Type: RBManagedFormInputToolbar

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

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.

buttons

Type: RBButton

The theme of buttons (Excluding the 'submitButton' and 'cancelButton'). Schema - RBManagedFormButtonSchema.

cancelButton

Type: RBButton

The theme of cancel buttons. Schema - RBManagedFormCancelButtonSchema.

contentMode

Type: UIViewContentMode

The content mode of the view.

Options:

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

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

datetimeFields

Type: RBDateTimeField

The theme of date/time fields. Schema - RBManagedFormDateTimeFieldSchema.

fieldLabel_[groupThemeIdentifier]

Type: UIView

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

fieldLabel_[identifier]

Type: UIView

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

fieldLabels

Type: RBLabel

The theme of field labels. These are the labels automatically attached when to a field.

hidden

Type: boolean

Whether or not the view is hidden.

imageSelectionFields

Type: RBImageSelectionField

The theme of image selection fields. Schema - RBManagedFormImageSelectionFieldSchema.

images

Type: RBImageView

The theme of images. Schema - RBManagedFormImageSchema.

labels

Type: RBLabel

The theme of labels. Schema - RBManagedFormLabelSchema.

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.

listFields

Type: RBListField

The theme of list fields. Schema - RBManagedFormListFieldSchema.

multilineTextFields

Type: RBTextViewField

The theme of multiline text fields. Schema - RBManagedFormTextViewFieldSchema.

multipleChoiceFields

Type: RBMultipleChoiceField

The theme of multiple choice fields. Schema - RBManagedMultipleChoiceFieldSchema.

photoFields

Type: RBPhotoField

The theme of photo fields. Schema - RBManagedFormPhotoFieldSchema.

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

positioner

Type: RBLayoutPositioner

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

ratingFields

Type: RBRatingField

The theme of rating fields. Schema - RBManagedFormRatingFieldSchema.

separators

Type: RBManagedFormSeparatorView

The theme of separators. Schema - RBManagedFormSeparatorSchema.

submitButton

Type: RBButton

The theme of submit buttons. Schema - RBManagedFormSubmitButtonSchema.

switchFields

Type: RBSwitchField

The theme of switch fields. Schema - RBManagedFormSwitchFieldSchema.

textFields

Type: RBTextField

The theme of text input fields. Schema - RBManagedFormTextFieldSchema.

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.

toasts

Type: RBToastAlertView

The theme of toasts shown when displaying a validation.

tooltips

Type: RBTooltipView

The theme of tooltips shown when displaying a validation.