Description
iOS Slide Menu Controller. It is written in pure swift.
SlideMenuController alternatives and similar libraries
Based on the "Menu" category.
Alternatively, view SlideMenuController alternatives based on common mentions on social networks and blogs.
-
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
GuillotineMenu
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine. -
BTNavigationDropdownMenu
The elegant yet functional dropdown menu, written in Swift, appears underneath the navigation bar to display a list of defined items when a user clicks on the navigation title. -
PagingKit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries. -
CategorySliderView
slider view for choosing categories. add any UIView type as category item view. Fully customisable -
RadialMenu
RadialMenu is a custom control for providing a touch context menu (like iMessage recording in iOS 8) built with Swift & POP -
DTPagerController
A fully customizable container view controller to display a set of ViewControllers in a horizontal scroll view. Written in Swift. -
RHSideButtons
Library provides easy to implement variation of Android (Material Design) Floating Action Button for iOS. You can use it as your app small side menu. 🌶
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SlideMenuController or a related project?
README
SlideMenuController
Requirements
iOS 9+
Installation
SlideMenuController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SlideMenuController'
Usage
Setup
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
}
}
QuickStart
....
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
...
let navi = UINavigationController(rootViewController: selectedMenuViewController)
self.slideMenuController?.setMain(viewController: navi)
}
....
Properties
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?
Methods
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()
Author
🇰🇷Myung gi son, [email protected]
License
SlideMenuController is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the SlideMenuController README section above
are relevant to that project's source code only.