项目介绍:
Usage 使用方法
[Objective-C] 查看源文件 复制代码
override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. let items = ["All","Popular","Invitations","Anniversaries","Concerts", "Cultural","Fesivals","Holidays","Cele","Lonely","Daily","Hobbit","Alone","Single","Fesivals","Holidays","Invitations","Anniversaries"] sideMenu = LNSideMenu(sourceView: view, menuPosition: .Left, items: items) // One more optional parameter is highlighItemAtIndex (Int) sideMenu?.delegate = self view.bringSubviewToFront(navigationBar) }
Requirements 环境要求
. Xcode 7.3 or higher . iOS 8 or higher
Installation 安装 支持cocoapods Cocoapods
LNSideMenu is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod ‘LNSideMenu’, ‘~> 1.0.1’
Manual
Adding all files in LNSideMenu folder to your project folder
DEMO 直接下载: