You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Slide Menu, written in Swift 2, inspired by Navigation Drawer on Material Design (inspired by Google Material Design) for iOS written in Swift 2.0
Please feel free to make pull requests :)
USAGE
Add those 5 files on your project : BaseViewController.swift, ChildViewController.swift, MenuTableViewCell.swift, TableViewMenuController.swift and ZFRippleButton.swift. Don't forget to also add "background.jpg" on your asset directory.
Add your own mini icons for menu on your asset directory
Create ViewControllers Swift files for your ChildView, subclass with ChildViewController.
Create on Storyboard (Interface Builder) your ChildViews (Just drag UIViewController)then set "Storyboard ID" AND "CustomClass"
Subclass your main ViewController with BaseViewController and on Storyboard(Interface Builder), select your main ViewController, then add a Navigation Controller (Editor => Embed In => Navigation Controller).
Finally, Add on your main ViewController:
//Add the childViews
addChildView("HomeScreenID", titleOfChildren:"HOME", iconName:"home")addChildView("ContactScreenID", titleOfChildren:"CONTACT", iconName:"contact")
//Show the first childScreen
showFirstChild()
Version
1.2
Features
Multi-Device Full Support
Rotation Support
Material Design Effect
Thanks
This library use a modified version of this awesome project: ZFRippleButton
Author
Philippe BOISNEY (phil.boisney(@)gmail.com)
About
A Slide Menu, written in Swift, inspired by Slide Menu Material Design