Implement this method to track gesture scroll events such as a swipe.
- macOS 10.7+
The event gesture axis of the swipe, which defines the scroll direction.
true if gesture scroll events are to be forwarded up the responder chain; otherwise
false. The default implementation returns
Implement this method in your swipe controller and return
true to inform views that perform elastic scrolling to forward gesture scroll events up the responder chain. The events are forwarded only on the following condition: the content to be scrolled is already at the edge of the scrolled direction when the scroll gesture begins. Otherwise, the view performs elastic scrolling. The default implementation returns