InstructionsBannerViewDelegate
public protocol InstructionsBannerViewDelegate : VisualInstructionDelegate
InstructionsBannerViewDelegate provides methods for reacting to user interactions in InstructionsBannerView.
-
didTapInstructionsBanner(_:)Default implementationCalled when the user taps the
InstructionsBannerView.Default Implementation
UnimplementedLoggingprints a warning to standard output the first time this method is called.Declaration
Swift
func didTapInstructionsBanner(_ sender: BaseInstructionsBannerView)Parameters
senderThe
BaseInstructionsBannerViewinstance. -
didSwipeInstructionsBanner(_:swipeDirection:)Default implementationCalled when the user swipes either left, right, or down on the
InstructionsBannerView.Default Implementation
UnimplementedLoggingprints a warning to standard output the first time this method is called.Declaration
Swift
func didSwipeInstructionsBanner(_ sender: BaseInstructionsBannerView, swipeDirection direction: UISwipeGestureRecognizer.Direction)Parameters
senderThe
BaseInstructionsBannerViewinstance.directionDirection, in which swiping was performed: (either
.left,.right,.topor.bottom).
Install in Dash
InstructionsBannerViewDelegate Protocol Reference