Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

A pod for a very basic implementation of the "slide left to reveal" menu.

License

Notifications You must be signed in to change notification settings

howaboutwe/HAWLeftMenuViewController

Repository files navigation

HAWLeftMenuViewController

A pod for a very basic implementation of the "slide left to reveal" menu. It is intentionally barebones to implement the bare minimum necessary for the UI without additional complexity.

Installation

Install with CocoaPods:

pod 'HAWLeftMenuViewController'

Usage

Creating an HAWTiltedImageView

  1. Import:

    #import "HAWLeftMenuViewController.h"

  2. Create the view controller

    HAWLeftMenuViewController *slideController = [[HAWLeftMenuViewController alloc] init];

  3. Specify the left and main controllers, specify the width while open

    slideController.leftViewController = myMenuController;

    slideController.mainViewController = myMainController;

    slideController.leftViewOpenSize = 150;

  4. Replace the main controller as necessary (will close the menu if open)

    slideController.mainViewController = anotherController;

Examples

There is a simple example included with the project. See LeftMenuViewExample

##Contribute

Send me pull requests !!

##Authors

Jerry Wong - @potatolicious

About

A pod for a very basic implementation of the "slide left to reveal" menu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published