SlideMenuUp
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
let menuVC = MenuViewController()
menuVC.headerTitle = "Select from A menu"
menuVC.menuItem = [
MenuDataSource(title:"Account",image: UIImage()),
MenuDataSource(title:"Report",image:UIImage()),
MenuDataSource(title:"Setting",image:UIImage()),
MenuDataSource(title:"Close",image:UIImage())]
menuVC.didSelectItemWith = { index in
print(index)
}
menuVC.show()
CUSTOMIZE STYLE
let menuVC = MenuViewController()
menuVC.tableViewRowHeight = 50
menuVC.headerTextAlignment = .center
menuVC.headerTextColor = .red
menuVC.headerTextFont = .systemFont(ofSize: 15)
menuVC.menuItemTextFont = .systemFont(ofSize: 15)
menuVC.menuItemTextColor = .orange
menuVC.menuIconColor = .red
Installation
SlideMenuUp is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SlideMenuUp'
Author
Adel Radwan, [email protected]
License
SlideMenuUp is available under the MIT license. See the LICENSE file for more info.