RSDDesignSystem

open class RSDDesignSystem

The design rules are intended as a way of consolidating UI/UX design system rules in a logical grouping. A task module can define a design system that should be used for the tasks defined within that module.

  • Static marker that should be rev’d to whatever is the latest version for the design system views.

    Declaration

    Swift

    public static let currentVersion: Int
  • The version for the design system. If the design rules change with future versions of this framework, then the current version number should be rev’d as well and any changes to this rule set that are not additive include logic to return the previous rules associated with a previous version.

    Declaration

    Swift

    open private(set) var version: Int {
      get
      }
  • The color rules associated with this version of the design system.

    Declaration

    Swift

    open private(set) var colorRules: RSDColorRules {
      get
      }
  • The font rules associated with this version of the design system.

    Declaration

    Swift

    open private(set) var fontRules: RSDFontRules {
      get
      }
  • The button type for the button. This refers to whether or not the button is used to represent a primary or secondary action.

    Declaration

    Swift

    public enum ButtonType : String, Codable, CaseIterable
  • The supported text types for the text fields and labels.

    See more

    Declaration

    Swift

    public struct TextType : RawRepresentable, Codable, ExpressibleByStringLiteral, Hashable