Protocols
The following protocols are available globally.
-
Delegate for configuring and respodning to interactions in a calendar.
See moreDeclaration
Objective-C
@protocol BPKCalendarDelegate <NSObject>
Swift
protocol BPKCalendarDelegate
-
Delegate for dialog for managing dialog actions.
See moreDeclaration
Objective-C
@protocol BPKDialogViewDelegate <NSObject>
Swift
protocol BPKDialogViewDelegate
-
Delegate for responding to changes and actions in horizontal navigation.
See moreDeclaration
Objective-C
@protocol BPKHorizontalNavigationDelegate <NSObject>
Swift
protocol BPKHorizontalNavigationDelegate : NSObjectProtocol
-
Represents a single navigation option in
BPKHorizontalNavigation
. For common use casesBPKHorizontalNavigationOption
is provided but by implementing a custom type that conform to this protocol you can implement custom navigation items.Make sure you implement
isEqual:
fromNSObject
too.See
BPKHorizontalNavigationItemSee
BPKHorizontalNavigationOptionDeclaration
Objective-C
@protocol BPKHorizontalNavigationOptionType <NSObject>
Swift
protocol BPKHorizontalNavigationOptionType : NSObjectProtocol
-
Methods for being notified when the display of a snackbar changes for example when it is dimissed.
See moreDeclaration
Objective-C
@protocol BPKSnackbarDelegate
Swift
protocol BPKSnackbarDelegate
-
An abstract base class to define a theme that can be applied to a view hierarchy containing Backpack components. This should be subclassed to create concrete themes.
See moreDeclaration
Objective-C
@protocol BPKThemeDefinition;
Swift
protocol BPKThemeDefinition