Enumerations

The following enumerations are available globally.

  • These constants represent the type of badge.

    See more

    Declaration

    Objective-C

    enum BPKBadgeType {}

    Swift

    enum BPKBadgeType : UInt
  • Enum values for specifying button size

    See more

    Declaration

    Objective-C

    enum BPKButtonSize {}

    Swift

    enum BPKButtonSize : UInt
  • Enum values for specifying button style

    See more

    Declaration

    Objective-C

    enum BPKButtonStyle {}

    Swift

    enum BPKButtonStyle : UInt
  • The position of the imageView with respect to the titleLabel in the button.

    See more

    Declaration

    Objective-C

    enum BPKButtonImagePosition {}

    Swift

    enum BPKButtonImagePosition : UInt
  • Enum values for specifying calendar selection type

    See more

    Declaration

    Objective-C

    enum BPKCalendarSelection {}
  • Enum values for specifying corner style

    See more

    Declaration

    Objective-C

    enum BPKCardCornerStyle {}
  • Enum values for specifying chip style

    See more

    Declaration

    Objective-C

    enum BPKChipStyle {}

    Swift

    enum BPKChipStyle : UInt
  • The different styles of the Dialog.

    See more

    Declaration

    Objective-C

    enum BPKDialogControllerStyle {}

    Swift

    enum BPKDialogControllerStyle : Int
  • The different corner-styles of the Dialog.

    See more

    Declaration

    Objective-C

    enum BPKDialogCornerStyle {}

    Swift

    enum BPKDialogCornerStyle : Int
  • The different positions of the Flare pointer.

    Declaration

    Objective-C

    enum BPKFlarePosition {}

    Swift

    enum BPKFlarePosition : Int
  • These constants represent the font style.

    See more

    Declaration

    Objective-C

    enum BPKFontStyle {}

    Swift

    enum BPKFontStyle : UInt
  • These constants represent the directions available for gradients in Backpack. The direction specifies the location that the last color in the gradient will fall on.

    See more

    Declaration

    Objective-C

    enum BPKGradientDirection {}

    Swift

    enum BPKGradientDirection : UInt
  • Enum values for specifying the navigation size

    See more

    Declaration

    Objective-C

    enum BPKHorizontalNavigationSize {}
  • Available icon sizes.

    To find the concrete point size use concreteSizeForIconSize:

    See

    concreteSizeForIconSize:
    See more

    Declaration

    Objective-C

    enum BPKIconSize {}

    Swift

    enum BPKIconSize : UInt
  • Enum values for specifying corner style

    See more

    Declaration

    Objective-C

    enum BPKOverlayViewCornerStyle {}
  • Enum values for specifying the overlay type.

    See more

    Declaration

    Objective-C

    enum BPKOverlayViewOverlayType {}
  • Enum values for specifying panel style

    Declaration

    Objective-C

    enum BPKPanelStyle {}

    Swift

    enum BPKPanelStyle : UInt
  • The different layouts of the Rating.

    Declaration

    Objective-C

    enum BPKRatingLayout {}

    Swift

    enum BPKRatingLayout : Int
  • The different sizes of the Rating.

    Declaration

    Objective-C

    enum BPKRatingSize {}

    Swift

    enum BPKRatingSize : Int
  • Snackbar duration

    BPKSnackbarDurationIndefinite the snackbar wont disappear. BPKSnackbarDurationShort the snackbar will disappear after 2 seconds. BPKSnackbarDurationLong the snackbar will disappear after 3.5 seconds.

    Declaration

    Objective-C

    enum BPKSnackbarDuration {}

    Swift

    enum BPKSnackbarDuration : Int
  • Cause for a snackbar being dismissed.

    See more

    Declaration

    Objective-C

    enum BPKSnackbarDismissCause {}
  • Enum values for specifying spinner size

    Declaration

    Objective-C

    enum BPKSpinnerSize {}

    Swift

    enum BPKSpinnerSize : UInt
  • Enum values for specifying spinner style

    Declaration

    Objective-C

    enum BPKSpinnerStyle {}

    Swift

    enum BPKSpinnerStyle : UInt
  • Enum values for specifying star state

    Declaration

    Objective-C

    enum BPKStarState {}

    Swift

    enum BPKStarState : Int
  • Enum values for specifying star size

    Declaration

    Objective-C

    enum BPKStarSize {}

    Swift

    enum BPKStarSize : UInt
  • These constants represent the different styles available for BPKTappableLinkLabels

    See more

    Declaration

    Objective-C

    enum BPKTappableLinkLabelStyle {}

    Swift

    enum BPKTappableLinkLabelStyle : UInt