CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

LFSideViewController 2.0.0

LFSideViewController 2.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Luis Flores.




LFSideViewController

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.