IGOverlayViewDelegate Protocol Reference

Conforms to NSObject
Declared in IGOverlayView.h

Overview

The delegate of a IGOverlayView object must adopt the IGOverlayDelegate protocol.

All methods and properties in this protocol are optional.

– customEnterFrameForOverlay:

Requests the custom CGRect frame from which the IGOverlayView will animate from when shown.

- (CGRect)customEnterFrameForOverlay:(IGOverlayView *)overlayView

Parameters

overlayView

The IGOverlayView that is requesting the custom frame.

Discussion

Note: This delegate method is called when using IGOverlayAnimationCustomFade and IGOverlayAnimationCustomSlide animation types.

Declared In

IGOverlayView.h

– customExitFrameForOverlay:

Requests the custom CGRect frame from which the IGOverlayView will animate to when dismissed.

- (CGRect)customExitFrameForOverlay:(IGOverlayView *)overlayView

Parameters

overlayView

The IGOverlayView that is requesting the custom frame.

Discussion

Note: This delegate method is called when using IGOverlayAnimationCustomFade and IGOverlayAnimationCustomSlide animation types.

Declared In

IGOverlayView.h

– customEnterAnimationForOverlay:

Provide custom animation for views when the IGOverlayView is animating into its enter frame.

- (void)customEnterAnimationForOverlay:(IGOverlayView *)overlayView

Parameters

overlayView

The IGOverlayView that is requesting the custom enter animation.

Discussion

Note: This delegate method is called when using IGOverlayAnimationCustomFade and IGOverlayAnimationCustomSlide animation types.

Declared In

IGOverlayView.h

– customExitAnimationForOverlay:

Provide custom animation for views when the IGOverlayView is animating into its exit frame.

- (void)customExitAnimationForOverlay:(IGOverlayView *)overlayView

Parameters

overlayView

The IGOverlayView that is requesting the custom exit animation.

Discussion

Note: This delegate method is called when using IGOverlayAnimationCustomFade and IGOverlayAnimationCustomSlide animation types.

Declared In

IGOverlayView.h

– displayLocationForOverlayView:

Requests a custom CGRect for the IGOverlayView to animate to when showing.

- (CGRect)displayLocationForOverlayView:(IGOverlayView *)overlayView

Parameters

overlayView

The IGOverlayView that is requesting the custom location.

Declared In

IGOverlayView.h

– overlayDismissed:

Informs the delegate that the IGOverlayView has been dismissed.

- (void)overlayDismissed:(IGOverlayView *)overlayView

Parameters

overlayView

The IGOverlayView that was dismissed.

Declared In

IGOverlayView.h