Skip to content

VincentDengSZ/VTSideMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VTSideMenu

A simple sideMenu lib for iOS

GIF

#Requirements

iOS 8.0+

#Getting Started

Using CocoaPods

1.Add the pod VTSideMenu to your Podfile.

pod 'VTSideMenu', '~> 1.0.0'

2.Run pod install from Terminal, then open your app's .xcworkspace file to launch Xcode.

3.#import UIViewController+SideMenu.h wherever you want to use the API

Manually from GitHub

1.Download the UIViewController+SideMenu.h , UIViewController+SideMenu.m ,VTSideMenuManager.h , VTSideMenuManager.m files in th Source directory

2.Add the files to your Xcode project.

4.#import IViewController+SideMenu.h wherever you want to use the API #Example Usage

Example location

Check out the example project included in the repository. It contains a few demos of the API in use for various scenarios.

Usage

The way to create a SideMenu:

 [VTSideMenuManager initSideMenuController:[SideMenuViewController new] width:250];

The way to make side menu slide out:

  [self sideMenuSlideOut];// called by a UIViewController instance 

The way to make side menu slide int:

 [self sideMenuSlideIn]; // called by a UIViewController instance 

#License MIT

About

A simple sideMenu lib for iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published