Latest 1.0.0
License MIT
Platforms ios 10, requires ARC
Frameworks Foundation, UIKit

A simple Swift sideMenu lib for iOS




iOS 8.0+

Swift 3.0+

Getting Started

Using CocoaPods

1.Add the pod VTSideMenu to your Podfile.

pod 'VTSideMenuSwift', '~> 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 UIViewControllerSideMenu.swift , VTSideMenuManager.swift files in th Source directory

2.Add the files to your Xcode project. don’t need to import any file if you use the api Manually with Swift

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.


The way to create a SideMenu:

VTSideMenuManager.initSideMenu(sideMenu: SideMenuViewController(nibName: "SideMenuViewController", bundle: nil), 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 



Latest podspec

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

Pin It on Pinterest

Share This