phase
A value that indicates the scroll update’s position in the scrolling life cycle.
Declaration
var phase: BEScrollViewScrollUpdate.Phase { get }Discussion
The phases of a scroll update follow a state machine:
A scroll gesture begins in the BEScrollViewScrollUpdate.Phase.began phase when the person places their finger in the scroll view.
As the person interacts with the scroll view, the system generates zero or more BEScrollViewScrollUpdate.Phase.changed updates.
The gesture enters the BEScrollViewScrollUpdate.Phase.ended phase when the person lifts their finger, or the BEScrollViewScrollUpdate.Phase.cancelled phase when another event causes the system to stop tracking the gesture.