SEssentialsPullToActionVisualizer protocol defines the messages sent to a status view from it’s parent
The visualizer is responsible for forwarding messages to the status view regarding state changes, handing positioning / size changes, and taking care of animation.
Called by the Pull to Action control when a new status view is set.
- (void)pullToAction:(SEssentialsPullToAction *)pullToAction layoutStatusView:(SEssentialsPullToActionStatusView *)statusView
Use this opportunity to position, set autoresizing masks, or any other initial setup that the status view may need.
Called by the Pull to Action control when the pulled amount is changed.
- (void)pullToAction:(SEssentialsPullToAction *)pullToAction pulledAmountChanged:(CGFloat)pulledAmount
Use this opportunity to reposition / resize the Pull to Action control and notify the status view of the size change.
Called by the Pull to Action control when its action is completed.
- (void)pullToActionActionCompleted:(SEssentialsPullToAction *)pullToAction
Use this opportunity to trigger an animation after the pull action is completed.