Latest 2.0.0
Homepage https://github.com/luisfcofv/LFSideViewController
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

License MIT
Badge w/ Version
Badge w/ Platform
Carthage compatible

iOS side menu

Demo

Requirements

  • Xcode 6
  • iOS 9

Installation

The best and easiest way is to use CocoaPods.

pod 'LFSideViewController', '~> 2.0.0'

Usage

import UIKit

class RootViewController: LFSideViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        let storyboard = UIStoryboard(name: "Main", bundle: nil)
        self.contentViewController = storyboard.instantiateViewController(withIdentifier: "NavigationViewController")
        self.rightViewController = storyboard.instantiateViewController(withIdentifier: "RightViewController")
        self.leftViewController = storyboard.instantiateViewController(withIdentifier: "LeftViewController")

        if let sideViewController = self.sideViewController() {
            sideViewController.delegate = self
        }
    }
}

Check out the example project for more details.

License

LFSideViewController is licensed under the MIT License.

Latest podspec

{
    "name": "LFSideViewController",
    "version": "2.0.0",
    "summary": "iOS side menu.",
    "homepage": "https://github.com/luisfcofv/LFSideViewController",
    "screenshots": "https://raw.githubusercontent.com/luisfcofv/LFSideViewController/master/LFSideViewController.gif",
    "license": "MIT",
    "authors": {
        "Luis Flores": "[email protected]"
    },
    "source": {
        "git": "https://github.com/luisfcofv/LFSideViewController.git",
        "tag": "2.0.0"
    },
    "social_media_url": "https://twitter.com/luisfcofv",
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "LFSideViewController/LFSideViewController.swift",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This