GuillotineMenu alternatives and similar libraries
Based on the "Menu" category.
Alternatively, view GuillotineMenu 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) -
ViewDeck
An implementation of the sliding menu found in various iOS apps. -
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 -
Persei
Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift -
PagingMenuController
Paging view controller with customizable menu in Swift. -
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. -
Context-Menu.iOS
You can easily add awesome animated context menu to your app. -
ENSwiftSideMenu
A simple side menu for iOS written in Swift. -
SideMenuController
A side menu controller written in Swift for iOS -
Panels
Panels is a framework to easily add sliding panels to your application -
YNDropDownMenu
✨ Awesome Dropdown menu for iOS with Swift 5.0 -
IGLDropDownMenu
An iOS drop down menu with pretty animation and easy to customize. -
PagingKit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries. -
SwipeMenuViewController
Swipable tab and menu View and ViewController. -
PopMenu
PopMenu is pop animation menu inspired by Sina weibo / NetEase app. -
FlowingMenu
Interactive view transition to display menus with flowing and bouncing effects in Swift -
InteractiveSideMenu
iOS Interactive Side Menu written in Swift. -
SPLarkController
Custom transition between controllers. Settings controller for your iOS app. -
MenuItemKit
UIMenuItem with image and closure(block) action -
LLSlideMenu
This is a spring slide menu for iOS apps - 一个弹性侧滑菜单 -
MKDropdownMenu
🔻 Dropdown Menu for iOS with many customizable parameters to suit any needs -
ExpandingMenu
ExpandingMenu is menu button for iOS written in Swift. -
FrostedSidebar
Hamburger Menu using Swift and iOS 8 API's -
CategorySliderView
slider view for choosing categories. add any UIView type as category item view. Fully customisable -
AKSideMenu
Beautiful iOS side menu library with parallax effect. Written in Swift -
DTPagerController
A fully customizable container view controller to display a set of ViewControllers in a horizontal scroll view. Written in Swift. -
RadialMenu
RadialMenu is a custom control for providing a touch context menu (like iMessage recording in iOS 8) built with Swift & POP -
DropDownMenuKit
UIKit drop down menu, simple yet flexible and written in Swift -
AZDropdownMenu
A simple dropdown menu component for iPhone -
VLDContextSheet
Context menu similar to the one in the Pinterest iOS app -
KWDrawerController
Drawer view controller that easy to use! -
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. 🌶
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 GuillotineMenu or a related project?
README
GuillotineMenu.swift
Inspired by this project on Dribbble
Also, read how it was done in our blog
Requirements
- iOS 8.0+
- Xcode 10
- Swift 5.0 (v 4.1+)
- Swift 4.2 (v 4.0)
Installation
CocoaPods
pod 'GuillotineMenu'
Manual Installation
You are welcome to see the sample of the project for fully operating sample in the Example folder.
- You must add "GuillotineMenuTransitionAnimation.swift" to your project, that's all.
Usage
- Now, it's for you to decide, should or not your menu drop from top left corner of the screen or from your navigation bar, because if you want animation like in example, you must make your menu view controller confirm to "GuillotineMenu" protocol. When you confirm to this protocol, you must make a menu button and title, you don't need to make frame for them, because animator will make it itself.
- In view controller, that will present your menu, you must make a property for "GuillotineMenuTransitionAnimator". It's necessary for proper animation when you show or dismiss menu.
- When you present menu, you must ensure, that model presentation style set to Custom and menu's transition delegate set to view controller, that presents menu:
let menuViewController = storyboard!.instantiateViewController(withIdentifier: "MenuViewController")
menuViewController.modalPresentationStyle = .custom
menuViewController.transitioningDelegate = self
- Implement UIViewControllerTransitionDelegate methods in your presenting view controller:
extension ViewController: UIViewControllerTransitioningDelegate {
func animationControllerForPresentedController(presented: UIViewController, presentingController presenting: UIViewController, sourceController source: UIViewController) -> UIViewControllerAnimatedTransitioning? {
presentationAnimator.mode = .presentation
return presentationAnimator
}
func animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
presentationAnimator.mode = .dismissal
return presentationAnimator
}
- At last, you can assign offset view, from where your menu will be dropped and button for it, and present your menu:
presentationAnimator.supportView = navigationController!.navigationBar
presentationAnimator.presentButton = sender
present(menuViewController, animated: true, completion: nil)
Customisation
Of course, you can assign different "supportView" or "presentButton" for menu, but we think that's the best case would be behaviour like in Example project.
To specify the length of an animation effect, change the value of the "duration" property.
Also, you have wonderful delegate methods of animator:
public protocol GuillotineAnimationDelegate: class {
func animatorDidFinishPresentation(_ animator: GuillotineTransitionAnimation)
func animatorDidFinishDismissal(_ animator: GuillotineTransitionAnimation)
func animatorWillStartPresentation(_ animator: GuillotineTransitionAnimation)
func animatorWillStartDismissal(_ animator: GuillotineTransitionAnimation)
}
You can do whatever you want alongside menu is animating.
Let us know!
We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.
P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!
License
The MIT License (MIT)
Copyright © 2017 Yalantis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*Note that all licence references and agreements mentioned in the GuillotineMenu README section above
are relevant to that project's source code only.