Index

Redbeard Theme Reference V1.0

RBPhotoField

This theme is passed on to the positioner, so you should also provide positioner theme values here.

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.

alwaysBounceHorizontal

Type: boolean

Whether or not to allow vertical bounce.

alwaysBounceVertical

Type: boolean

Whether or not to allow vertical bounce.

animator

Type: RBLayoutAnimator

The theme of the animator that animates cells as they enter view during scrolling.

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.

bounces

Type: boolean

Whether or not to allow bouncing.

buttonMargins

Type: UIEdgeInsets

The margin to provide around buttons.

buttonSpacing

Type: decimal

The spacing to use between buttons in pt.

cameraButton

Type: RBButton

The theme of the camera button.

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

emptyImage

Type: UIImage

The image to use when no image has been set.

emptyImageMargin

Type: UIEdgeInsets

The margin to provide around the empty image.

emptyImageTintColor

Type: UIColor

The tint color of the image.

hasCameraButton

Type: boolean

Whether or not the camera button is to be displayed.

hasImageView

Type: boolean

Whether or not the imageView is to be displayed.

hasLibraryButton

Type: boolean

Whether or not the photo library button is to be displayed.

hidden

Type: boolean

Whether or not the view is hidden.

imageView

Type: RBImageView

The theme of the image view.

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.

libraryButton

Type: RBButton

The theme of the photo library button.

pagingEnabled

Type: boolean

Whether or not paging in enabled.

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

showsHorizontalScrollIndicator

Type: boolean

Whether or not to show the horizontal scroll indicator.

showsVerticalScrollIndicator

Type: boolean

Whether or not to show the vertical scroll indicator.

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.