Skip to content
iOS Slide Menu Controller. It is written in pure swift.
Swift Ruby
Branch: master
Clone or download
Latest commit 5ca28d1 Nov 7, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example update example sources. Nov 7, 2017
SlideMenuController Fix up Issue that UITableView`s cells or UICollectionView`s cell is n… Nov 7, 2017
.gitignore Initial commit Oct 15, 2017
.travis.yml Initial commit Oct 15, 2017
LICENSE Initial commit Oct 15, 2017 modify readme. Oct 15, 2017
SlideMenuController.podspec modify pod spec. Nov 7, 2017
_Pods.xcodeproj Initial commit Oct 15, 2017


CI Status Version License Platform

alt text


iOS 9+


SlideMenuController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SlideMenuController'



class AppDelegate: UIResponder, UIApplicationDelegate {

  var window: UIWindow?

  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    let slideMenuController = SlideMenuController(
      mainViewController: mainViewController,
      leftViewController: leftViewController,
      rightViewController: rightViewController

    window?.rootViewController = slideMenuController
    return true


  func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let navi = UINavigationController(rootViewController: selectedMenuViewController)
    self.slideMenuController?.setMain(viewController: navi)


var animationDuration: TimeInterval // default: 0.45

var leftVisibleWidthPercentage: CGFloat // 0.0 ~ 1.0  default: 0.45
var rightVisibleWidthPercentage: CGFloat // 0.0 ~ 1.0 default: 0.45

var allowedRightSwipe: Bool // default: true
var allowedLeftSwipe: Bool // default: true

var minimumMovePercentage: CGFloat // 0.0 ~ 1.0  default: 0.15
var panningLimitedToTopViewController: Bool // default: true

var mainNavigationBarLeftToggleButtonIcon: UIImage?
var mainNavigationBarRightToggleButtonIcon: UIImage?


func setRight(viewController newRightViewController: UIViewController?)
func setLeft(viewController newLeftViewController: UIViewController?)
func setMain(viewController newMainViewController: UIViewController?)

func showMain()
func showRight()
func showLeft()

func toggleLeft()
func toggleRight()


🇰🇷Myung gi son,


SlideMenuController is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.