Type Definitions

The following type definitions are available globally.

  • Handler function called when an action in a dialog is invoked.

    Declaration

    Objective-C

    typedef void (^BPKDialogButtonActionHandler)(BPKDialogButtonAction *_Nonnull)

    Swift

    typealias BPKDialogButtonActionHandler = (BPKDialogButtonAction) -> Void
  • Handler function called when the scrim action is invoked by the user tapping the scrim.

    Declaration

    Objective-C

    typedef void (^BPKDialogScrimActionHandler)(BOOL)

    Swift

    typealias BPKDialogScrimActionHandler = (Bool) -> Void
  • The name of a known icon.

    Declaration

    Objective-C

    typedef NSString *BPKIconName

    Swift

    struct BPKIconName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • The name of a known icon.

    Declaration

    Objective-C

    typedef NSString *BPKLargeIconName

    Swift

    struct BPKLargeIconName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • The name of a known icon.

    Declaration

    Objective-C

    typedef NSString *BPKSmallIconName

    Swift

    struct BPKSmallIconName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • The name of a known icon.

    Declaration

    Objective-C

    typedef NSString *BPKXlIconName

    Swift

    struct BPKXlIconName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable