Index

RBListView

Properties

States

Property: invalidState

The theme to use when the field failed validation.

Property: validState

The theme to use when the field passed validation.

Property: invalidState

The theme to use when the field failed validation.

Property: validState

The theme to use when the field passed validation.

Property: invalidState

The theme to use when the field failed validation.

Property: validState

The theme to use when the field passed validation.

placeholderTextColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

backgroundColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

leftView

Type: UIView

The theme of the left view - theming options depend on the view type that was assigned.

borderColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

rightView

Type: UIView

The theme of the right view - theming options depend on the view type that was assigned.

textAlignment

Type: NSTextAlignment

The alignment of the text in the field.

Options:

  • natural
  • center
  • left
  • right
  • justified

borderColor

Type: UIColor

The color to use on the border on the view.

tintColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

borderStyle

Type: UITextBorderStyle

The border style of the text field.

Options:

  • bezel
  • line
  • none
  • roundedrect

userInteractionEnabled

Type: boolean

Whether or not the view allows user interaction.

backgroundImageTintColor

Type: UIColor

The tint color of the image.

rightViewMargin

Type: UIEdgeInsets

The margin to provide around the right view.

font

Type: UIFont

The font for the text.

textMargin

Type: UIEdgeInsets

The margin to provide around the text in the field.

toastAlertView

Type: RBToastAlertView

The theme of the managed toast alerts on the view.

activityView

Type: RBActivityView

The theme of the managed activity indicator on the view.

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

layerShadowColor

Type: UIColor

The color to use for the shadow on the view.

keyboardAppearance

Type: UIKeyboardAppearance

The keyboard appearance to use when the field is being edited.

Options:

  • dark
  • light
  • default

autocapitalizationType

Type: UITextAutocapitalizationType

The keyboard autocapitalization type to use when the field is being edited.

Options:

  • words
  • sentences
  • none
  • allcharacters

cornerRadius

Type: decimal

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

contentHorizontalAlignment

Type: UIControlContentHorizontalAlignment

Options:

  • center
  • left
  • right
  • fill

leftViewImage

Type: UIImage

The image of the left view. An RBImageView will be automatically created to hold the image.

layerShadowOpacity

Type: decimal

The shadow opacity to use on the view.

rightViewImageTintColor

Type: UIColor

The tint color of the image.

leftViewMode

Type: UITextFieldViewMode

When to show the leftView.

Options:

  • unlessediting
  • never
  • always
  • whileediting

clearButtonMode

Type: UITextFieldViewMode

When to show clear button.

Options:

  • unlessediting
  • never
  • always
  • whileediting

layerShadowRadius

Type: decimal

The shadow radius to use on the view in pt.

layerShadowColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

tintColor

Type: UIColor

The tint color of the view.

textColor

Type: UIColor

The color of the text.

corners

Type: UIRectCorner

The corners that should be rounded.

Options:

  • bottomleft
  • all
  • bottomright
  • topleft
  • topright

contentVerticalAlignment

Type: UIControlContentVerticalAlignment

Options:

  • fill
  • bottom
  • center
  • top

keyboardType

Type: UIKeyboardType

The keyboard type to use when the field is being edited.

Options:

  • numberpad
  • numbersandpunctuation
  • emailaddress
  • namephonepad
  • asciicapable
  • decimalpad
  • alphabet
  • twitter
  • url
  • phonepad

alpha

Type: decimal (0.0 - 1.0)

The alpha channel of the view.

autocorrectionType

Type: UITextAutocorrectionType

The keyboard autocorrection type to use when the field is being edited.

Options:

  • yes
  • no
  • default

contentMode

Type: UIViewContentMode

The content mode of the view.

Options:

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

hidden

Type: boolean

Whether or not the view is hidden.

returnKeyType

Type: UIReturnKeyType

The keyboard return key type to use when the field is being edited.

Options:

  • join
  • route
  • continue
  • send
  • search
  • next
  • yahoo
  • emergencycall
  • go
  • done
  • default
  • google

placeholderTextColor

Type: UIColor

The color of the placeholder text.

rightViewImage

Type: UIImage

The image of the right view. An RBImageView will be automatically created to hold the image.

placeholder

Type: NSString

The placeholder text to display when the field is empty.

backgroundColor

Type: UIColor

The background color of the view.

leftViewImageTintColor

Type: UIColor

The tint color of the image.

layerShadowOffset

Type: CGSize

The shadow offset to use.

leftViewMargin

Type: UIEdgeInsets

The margin to provide around the left view.

clipsToBounds

Type: boolean

Whether or not the view clips to bounds.

borderEdges

Type: UIRectEdge

The edges on which to apply a border.

Options:

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

inputView

Type: RBListInputView

The theme of the input view.

textColorAlpha

Type: decimal (0.0 - 1.0)

The alpha channel of the color.

backgroundImage

Type: UIImage

The image to display as the background of the field.

rightViewMode

Type: UITextFieldViewMode

When to show the rightView.

Options:

  • unlessediting
  • never
  • always
  • whileediting

borderWidth

Type: decimal

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