InstructionsBannerViewDelegate
public protocol InstructionsBannerViewDelegate : AnyObject, UnimplementedLogging
InstructionsBannerViewDelegate
provides methods for reacting to user interactions in InstructionsBannerView
.
-
didTapInstructionsBanner(_:)
Default implementationCalled when the user taps the
InstructionsBannerView
.Default Implementation
UnimplementedLogging
prints a warning to standard output the first time this method is called.Declaration
Swift
func didTapInstructionsBanner(_ sender: BaseInstructionsBannerView)
-
didSwipeInstructionsBanner(_:swipeDirection:)
Default implementationCalled when the user swipes either left, right, or down on the
InstructionsBannerView
Default Implementation
UnimplementedLogging
prints a warning to standard output the first time this method is called.Declaration
Swift
func didSwipeInstructionsBanner(_ sender: BaseInstructionsBannerView, swipeDirection direction: UISwipeGestureRecognizer.Direction)