BPKButtonStyle

enum BPKButtonStyle {}

Enum values for specifying button style

  • Primary button style, suitable for use as the primary call to action

    Declaration

    Objective-C

    BPKButtonStylePrimary = 0

    Swift

    case primary = 0
  • Secondary button style, suitable for secondary call to actions.

    Declaration

    Objective-C

    BPKButtonStyleSecondary = 1

    Swift

    case secondary = 1
  • Destructive button style, suitable for actions that are destructive. Should typically be paired with a confirmation.

    Declaration

    Objective-C

    BPKButtonStyleDestructive = 2

    Swift

    case destructive = 2
  • Featured button style, suitable for soem specific cases to differentiate from the primary style.

    Declaration

    Objective-C

    BPKButtonStyleFeatured = 3

    Swift

    case featured = 3
  • Link button style, suitable for inline display and de-emphasized actions.

    Declaration

    Objective-C

    BPKButtonStyleLink = 4

    Swift

    case link = 4
  • Outline button style, suitable for use on coloured backgrounds.

    Declaration

    Objective-C

    BPKButtonStyleOutline = 5

    Swift

    case outline = 5