UIResponder
public extension UIResponder
-
Emits an Event that will bubble up the UIResponder chain until reaches the first Coordinator, where it will continue to bubble up
Declaration
Swift
func emitEvent(_ event: CoordinateEvents)Parameters
eventThe event to emit
-
Intercepts events and react to them. Return true to stop the event propagation, return false to continue event propagation
If you override this method, you can cast the event parameter to the desired enum you wish to compare.
Declaration
Swift
func interceptEvent(_ event: CoordinateEvents) -> BoolParameters
eventThe event to intercept
View on GitHub
Install in Dash
UIResponder Extension Reference