Index

RBAlertSchema.h

Classes


RBAlertSchema

A message alert schema. Corresponds to setting up a RBAlertViewController. If you provide no buttons by default a button with title 'Ok' is set.

Properties

The message text to display.
public message NSString? { get set }

The attributed text to display.
public attributedMessage NSAttributedString? { get set }

The image to display above the text.
public image UIImage? { get set }

Whether or not the alignment specified in this schema should be used rather than the default value on the presenting view controller.
public shouldUseSchemaAlignment Bool { get set }

The vertical alignment to use when positioning the alert.
public alignment RBVerticalAlignment { get set }

Whether or not the margin specified in this schema should be used rather than the default value on the presenting view controller.
public shouldUseSchemaMargin Bool { get set }

The margin to use around the outside of the alert view when positioning it within the presenting view controller.
public margin UIEdgeInsets { get set }

The animator to use when animating the presentation and dismissal transitions.
public animator RBPresentationAnimator? { get set }

The index of the primary button. Default is 0, set -1 to exclude setting a primary button.
public primaryButtonIndex int { get set }

An array of button titles that define the buttons that will be provided.
public buttonTitles [String] { get set }

The identifier of the theme to apply to the alert prior to presenting it.
public themeIdentifier NSString? { get set }

Theme values to apply after any other prior theming has been applied.
public themeOverrides [String : Any]? { get set }