Inherits from UIView
Declared in IGSideMenuView.h

Overview

The IGSideMenuView allows for a view to be exposed or hidden programmatically or through user interaction on the left or right side of the IGSideMenuView.

Properties

allowContentUserInteraction

Allows or disallows user interaction on views contained in the contentView when a side menu is exposed.

@property (nonatomic, assign) BOOL allowContentUserInteraction

Declared In

IGSideMenuView.h

contentView

The main content area that covers the left and right menu views. Views that you wish to be presented as content inside of the IGSideMenuView should be added to the contentView.

@property (nonatomic, readonly) UIView *contentView

Discussion

Note: If by accident content is added to the IGSideMenuView, the view will be automatically added to the contentView.

Declared In

IGSideMenuView.h

delegate

Sets the IGSideMenuViewDelegate for the IGSideMenuView.

@property (nonatomic, assign) id<IGSideMenuViewDelegate> delegate

Declared In

IGSideMenuView.h

isMenuOpen

Returns whether or not a side menu is exposed.

@property (nonatomic, readonly) BOOL isMenuOpen

Declared In

IGSideMenuView.h

leftMenuView

The view that can be exposed programmatically or through interaction on the left side of the view.

@property (nonatomic, retain) UIView *leftMenuView

Declared In

IGSideMenuView.h

lockView

The view that covers and prevents interaction on the contentView when a menu on either side has been exposed.

@property (nonatomic, readonly) UIView *lockView

Declared In

IGSideMenuView.h

longPressGesture

The long press gesture instance that is used on the contentView for exposing a side. Note: When presentsWithGesture is set to NO, this gesture is not used on the contentView.

@property (nonatomic, readonly) UILongPressGestureRecognizer *longPressGesture

Declared In

IGSideMenuView.h

minimumPressDuration

The minimum long press duration, the default is 0.02.

@property (nonatomic, assign) CGFloat minimumPressDuration

Declared In

IGSideMenuView.h

presentsWithGesture

Determines whether or not to allow the exposing of a side through a long press gesture.

@property (nonatomic, assign) BOOL presentsWithGesture

Declared In

IGSideMenuView.h

rightMenuView

The view that can be exposed programmatically or through interaction on the right side of the view.

@property (nonatomic, retain) UIView *rightMenuView

Declared In

IGSideMenuView.h

transitionDuration

A value that represents time in seconds it will take for the contentView to animation. Note: When a long press gesture is used to expose a side, the transitionDuration is not used for animation.

@property (nonatomic, assign) CGFloat transitionDuration

Declared In

IGSideMenuView.h

Instance Methods

closeSideMenu

Closes the exposed side.

- (void)closeSideMenu

Declared In

IGSideMenuView.h

openSideMenu:

Exposes the specified side.

- (void)openSideMenu:(IGSideMenuLocation)side

Parameters

side

The side of the IGSideMenuView to expose.

Declared In

IGSideMenuView.h