Modal

struct Modal : Equatable

Modal in-app message theme

  • Max width

    Declaration

    Swift

    public var maxWidth: CGFloat
  • Max height

    Declaration

    Swift

    public var maxHeight: CGFloat
  • Padding

    Declaration

    Swift

    public var padding: EdgeInsets
  • Header theme

    Declaration

    Swift

    public var header: InAppMessageTheme.Text
  • Body theme

    Declaration

    Swift

    public var body: InAppMessageTheme.Text
  • Button theme

    Declaration

    Swift

    public var buttons: InAppMessageTheme.Button
  • Dismiss icon resource name

    Declaration

    Swift

    public var dismissIconResource: String
  • Dismiss icon width

    Declaration

    Swift

    public var dismissIconWidth: CGFloat
  • Dismiss icon height

    Declaration

    Swift

    public var dismissIconHeight: CGFloat
  • Applies a style from a plist to the theme.

    Declaration

    Swift

    public mutating func applyPlist(plistName: String, bundle: Bundle? = Bundle.main) throws

    Parameters

    plistName

    The name of the plist

    bundle

    The plist bundle.