CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Feb 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Luis Flores.
iOS side menu
The best and easiest way is to use CocoaPods.
pod 'LFSideViewController', '~> 2.0.0'
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.
LFSideViewController is licensed under the MIT License.