RSDRoundedButton

@IBDesignable
open class RSDRoundedButton : RSDButton, RSDViewDesignable

RSDRoundedButton is a UI element for displaying navigation buttons in the footer area of a view.

  • Should the button display using the secondary button style? This style is used for buttons that are displayed inline with scrolling views for handling secondary actions.

    If true, then the button colors will be styled using the secondary colors for the rounded button.

    Declaration

    Swift

    @IBInspectable
    open var isSecondaryButton: Bool { get set }
  • The background color mapping that this view should use as its key. Typically, for all but the top-level views, this will be the background of the superview.

    Declaration

    Swift

    open private(set) var backgroundColorTile: RSDColorTile? {
      get
      }
  • The design system for this component.

    Declaration

    Swift

    open private(set) var designSystem: RSDDesignSystem? {
      get
      }
  • Views can be used in nibs and storyboards without setting up a design system for them. This allows for setting up views to use the same design system and background color mapping as their parent view.

    Declaration

    Swift

    open func setDesignSystem(_ designSystem: RSDDesignSystem, with background: RSDColorTile)