UpperViewSwipingActivity
public protocol UpperViewSwipingActivity
Manages what swiping activity does.
-
The gesture recognizer used to handle swiping to the left
Declaration
Swift
var swipeLeft: UISwipeGestureRecognizer { get }
-
The gesture recognizer used to handle swiping to the right
Declaration
Swift
var swipeRight: UISwipeGestureRecognizer { get }
-
addEventClosure(_:
Default implementation_: ) Link a button / gesture event to a target/selector combination
Default Implementation
Link a button / gesture event to a target/selector combination
Declaration
Swift
func addEventClosure(_ event: UpperViewSwipingEvent, _ closure: @escaping (AnyObject) -> Void)
Parameters
event
the event to link to
closure
the closure to invokes when the event takes place