Skip to content

Instantly share code, notes, and snippets.

@zorn
Created July 7, 2015 17:08
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zorn/2bd2e0d7f1ca22274b98 to your computer and use it in GitHub Desktop.
Save zorn/2bd2e0d7f1ca22274b98 to your computer and use it in GitHub Desktop.

Sliding Menu Options for iOS

MMDrawerController

A lightweight, easy to use, Side Drawer Navigation Controller

https://github.com/mutualmobile/MMDrawerController

  • License: MIT
  • Source Langage: Objective-C
  • Swift Friendly: No sign of nullable markers.
  • Currently Maintained: Yes. Bug-fix style updates as recent as May 8, 2015.
  • Number of stars / forks: 3442 / 756
  • Number of issues / PRs: 78 / 17
  • Carthage compatible: No.

DrawerController

DrawerController is a swift version of the popular MMDrawerController by Mutual Mobile.

Some minor changes in this version include the removal of all < iOS 7.0 related code and the use of spring animations instead of ease-in-ease-out animations. We've also added an animated BarButtonItem and plan to enable additional features for regular horizontal size classes (i.e. iPad and iPhone 6 Plus in landscape).

This is currently a work in progress and has not been thoroughly tested. Use at your own risk.

https://github.com/sascha/DrawerController

  • License: MIT
  • Source Langage: Swift
  • Swift Friendly: Yes
  • Currently Maintained: Version says 1.0.4, last commit in May 11, 2015. Feels like work is being slowed down.
  • Number of stars / forks: 104 / 23
  • Number of issues / PRs: 2 / 0
  • Carthage compatible: Yes.

SWRevealViewController

A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right !

https://github.com/John-Lluch/SWRevealViewController

  • License: MIT
  • Source Langage: Objective-C
  • Swift Friendly: Unknown. No sign of nullable markers.
  • Currently Maintained: Yes. Last commit Jun 19, 2015.
  • Number of stars / forks: 2477 / 607
  • Number of issues / PRs: 101 / 8
  • Carthage compatible: No.

ECSlidingViewController

Popular menu implementation but since it's objc and non currently maintained, probably something we should skip.

https://github.com/ECSlidingViewController/ECSlidingViewController

Not Usable For Us

ENSwiftSideMenu

A simple side menu for iOS 7/8 written in Swift.

https://github.com/evnaz/ENSwiftSideMenu

NOTE: The style of this seems to be more of an overlay than a drawer, so I'm not sure it's applicable to our current design.

KGFloatingDrawer

A floating navigation drawer with an interesting animated presentation written in Swift.

https://github.com/KyleGoddard/KGFloatingDrawer

NOTE: Doesn't seem like the design style we are looking for.

KYDrawerController

Side Drawer Navigation Controller similar to Android.

https://github.com/ykyouhei/KYDrawerController

NOTES: Written in Swift and support Storyboards. Sadly is not the layout style our design calls for.

@uBhappy2
Copy link

uBhappy2 commented Jul 8, 2015

@zorn great list. I would also add ZUUIRevealController to this list. We used to use it in Mint before we ripped it out and moved to tab bar navigation. I believe it is Obj-C only but probably can be used with Swift

https://github.com/alecgorge/ZUUIRevealController

Also, it looks like SWRevealViewController can be used with Swift.

http://www.appcoda.com/sidebar-menu-swift/
Though the library was written in Objective-C, you can easily integrate it into any Swift project. You will see how easy you can access and interact with Objective-C classes using Swift.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment