Interface UISpringLoadedInteractionEffect


  • public interface UISpringLoadedInteractionEffect
    The interaction effect of a `UISpringLoadedInteraction` object must adopt the `UISpringLoadedInteractionEffect` protocol. It is responsible for styling the interaction view according to the current springloading state.
    • Method Detail

      • interactionDidChangeWithContext

        void interactionDidChangeWithContext​(UISpringLoadedInteraction interaction,
                                             UISpringLoadedInteractionContext context)
        Informs the effect that the springloading state changed.
        Parameters:
        interaction - The springloaded interaction providing this information.
        context - An object that provides information about the current springloading state.