Latest 1.0.0
Homepage https://github.com/VincentDengSZ/VTSideMenu
License MIT
Platforms ios 10, requires ARC
Frameworks Foundation, UIKit
Authors

A simple sideMenu lib for iOS

GIF

VTSideMenu

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

Latest podspec

{
    "name": "VTSideMenu",
    "version": "1.0.0",
    "summary": "A simple sideMenu lib for iOS , support Objective-C and Swift.",
    "description": "It is a sideMenu view used on iOS, which implement by Objective-C and Swift.",
    "homepage": "https://github.com/VincentDengSZ/VTSideMenu",
    "license": "MIT",
    "authors": {
        "VincentDeng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/VincentDengSZ/VTSideMenu.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "10"
    },
    "requires_arc": true,
    "source_files": "VTSideMenu/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.0"
    }
}

Pin It on Pinterest

Share This