A simple side menu for iOS 8 written in Swift language. Using UIDynamics, UIGestures and UIBlurEffect.
##Requirements
- Xcode 6
- iOS 8
##How to use
- Import
SideMenu.swift
andMenuTableViewController.swift
to your project folder - Set your view controller responds to
SideMenuDelegate
protocol - Implement
sideMenuDidSelectItemAtIndex(index: Int)
function in view controller - Initilize the menu with source view and menu item titles:
sideMenu = SideMenu(sourceView: self.view, menuData: ["UIDynamics", "UIGestures", "UIBlurEffect"])
sideMenu!.delegate = self
Customize menu table view cells in MenuTableViewController.swift