HYPSnapshotInteractionView

@interface HYPSnapshotInteractionView

This is a base implementation of a Snapshot plugins view that gets added to the HYPSnapshotContainer once active.

  • Creates a new HYPSnapshotInteractionView with the provided extension.

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithExtension:
        (id<HYPPluginExtension> _Nullable)extension;

    Parameters

    extension

    The extension the HYPSnapshotInteractionView should be created with.

  • Called when the interaction view is about to change size.

    Declaration

    Objective-C

    - (void)interactionViewWillTransitionToSize:(id)size
                      withTransitionCoordinator:(id _Nullable)coordinator;

    Parameters

    size

    The size that the interaction view is about to change to.

    coordinator

    The transition coordinator allows you to animate views in sync with the size change.

  • Called when the interaction view has changed size.

    Declaration

    Objective-C

    - (void)interactionViewDidTransitionToSize:(id)size;

    Parameters

    size

    The size that the interaction view has changed to.

  • The extension that the HYPSnapshotInteractionView was intialized with.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) id<HYPPluginExtension> extension;