IGSideMenuViewDelegate Protocol Reference

Conforms to NSObject
Declared in IGSideMenuView.h

Overview

The IGSideMenuViewDelegate protocol allows the adopter to receive calls for the open and close events as well as the location of the contentView when a user drags to reveal a side menu.

– sideMenuView:contentViewLocationDidChange:

Provides the current location of the contentView.

- (void)sideMenuView:(IGSideMenuView *)sideMenuView contentViewLocationDidChange:(CGPoint)location

Parameters

sideMenuView

Reference to the IGSideMenuView.

location

The X, Y location of the IGSideMenuView’s contentView.

Discussion

As a user longPresses and drags to reveal a side menu this delegate method is called to update the receiver of the contentView location.

Declared In

IGSideMenuView.h

– sideMenuView:sideDidClose:

Informs the receiver that a side menu has closed.

- (void)sideMenuView:(IGSideMenuView *)sideMenuView sideDidClose:(IGSideMenuLocation)side

Parameters

sideMenuView

Reference to the IGSideMenuView.

side

The side of the IGSideMenuView that closed. (IGSideMenuLocationLeft or IGSideMenuLocationRight)

Declared In

IGSideMenuView.h

– sideMenuView:sideWillClose:

Informs the receiver that a side menu will close.

- (void)sideMenuView:(IGSideMenuView *)sideMenuView sideWillClose:(IGSideMenuLocation)side

Parameters

sideMenuView

Reference to the IGSideMenuView.

side

The side of the IGSideMenuView that will close. (IGSideMenuLocationLeft or IGSideMenuLocationRight)

Declared In

IGSideMenuView.h

– sideMenuView:sideDidOpen:

Informs the receiver that a side menu has opened.

- (void)sideMenuView:(IGSideMenuView *)sideMenuView sideDidOpen:(IGSideMenuLocation)side

Parameters

sideMenuView

Reference to the IGSideMenuView.

side

The side of the IGSideMenuView that has opened. (IGSideMenuLocationLeft or IGSideMenuLocationRight)

Declared In

IGSideMenuView.h

– sideMenuView:sideWillOpen:

Informs the receiver that a side menu will open.

- (void)sideMenuView:(IGSideMenuView *)sideMenuView sideWillOpen:(IGSideMenuLocation)side

Parameters

sideMenuView

Reference to the IGSideMenuView.

side

The side of the IGSideMenuView that will open. (IGSideMenuLocationLeft or IGSideMenuLocationRight)

Declared In

IGSideMenuView.h