MenuItemKit alternatives and similar libraries
Based on the "Menu" category.
Alternatively, view MenuItemKit 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. -
PagingMenuController
Paging view controller with customizable menu in Swift. -
ENSwiftSideMenu
A simple side menu for iOS written in Swift. -
Panels
Panels is a framework to easily add sliding panels to your application -
YNDropDownMenu
✨ Awesome Dropdown menu for iOS with Swift 5.0 -
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. -
FlowingMenu
Interactive view transition to display menus with flowing and bouncing effects in Swift -
InteractiveSideMenu
iOS Interactive Side Menu written in Swift. -
SwiftUI Drawer
A SwiftUI bottom-up controller, like in the Maps app. Drag to expand or minimize. -
PagerTabStripView
🚀 Elegant Pager View fully written in pure SwiftUI. -
DropDownMenuKit
UIKit drop down menu, simple yet flexible and written in Swift -
KWDrawerController
Drawer view controller that easy to use! -
HHFloatingView
An easy to use and setup floating view for your app. 🎡 -
SwiftUISelector
A Modern Horizontal Option Selector View for SwiftUI
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 MenuItemKit or a related project?
README
MenuItemKit
MenuItemKit
provides image and block(closure) support for UIMenuItem
.
MenuItemKit
is a Swift project but Objective-C is supported without any doubt.
[Screenshot](Screenshot.png)
Install
Swift Package
Add this repo URL to your Swift package dependencies.
CocoaPods
pod 'MenuItemKit', '~> 4.0.0'
Xcode subproject
- Add the
MenuItemKit
repository as a submodule of your application’s repository. - Drag and drop
MenuItemKit.xcodeproj
into your application’s Xcode project or workspace. - On the “General” tab of your application target’s settings, add
MenuItemKit.framework
to the “Embedded Binaries” section.
If you would prefer to use Carthage, please pull request.
How to use
MenuItemKit
is very easy to adopt, it provides only 2 APIs:
typealias MenuItemAction = (UIMenuItem) -> ()
extension UIMenuItem {
convenience init(title: String, image: UIImage?, action: MenuItemAction)
convenience init(title: String, action: MenuItemAction)
}
For Objective-C, MenuItemKit
provides prefixed API names for safe reasons:
@interface UIMenuItem (SWIFT_EXTENSION(MenuItemKit))
- (nonnull instancetype)mik_initWithTitle:(NSString * _Nonnull)title image:(UIImage * _Nullable)image action:(MenuItemAction _Nonnull)action;
- (nonnull instancetype)mik_initWithTitle:(NSString * _Nonnull)title action:(MenuItemAction _Nonnull)action;
@end
Just init UIMenuItem
s with above APIs, and set them to menuItems
of UIMenuItemController
. MenuItemKit
will take care of the rest parts, you don't need to add any code related to responder chain in your view or view controller.
Check dome projects (both Swift and Objective-C are provided) for more details.
Advance Usage
For menu items out of your control, you can use static func installTo(responder: UIResponder, shouldShowForAction: @escaping (Selector, Bool) -> Bool = default)
to configure items visibility. Check [AutoPopupMenuControllerDemo](AutoPopupMenuControllerDemo).
About Me
- Twitter: @_cxa
- Apps available in App Store: http://lazyapps.com
- PayPal: xianan.chen+paypal 📧 gmail.com, buy me a cup of coffee if you find it's useful for you, thanks.
License
MenuItemKit
is released under the MIT license. In short, it's royalty-free but you must keep the copyright notice in your code or software distribution.
*Note that all licence references and agreements mentioned in the MenuItemKit README section above
are relevant to that project's source code only.