DropDownMenuKit is a custom UIKit control to show a menu attached to the navigation bar or toolbar. The menu appears with a sliding animation and can be deeply customized. For example, with icons, embedded controls, title view acting as a disclosure indicator, or a checkmark to denote a selected row among multiple menu cells.
DropDownMenuKit alternatives and similar libraries
Based on the "Menu" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of DropDownMenuKit or a related project?
DropDownMenuKit is a custom UIKit control to show a menu attached to the navigation bar or toolbar. The menu appears with a sliding animation and can be deeply customized. For example, with icons, embedded controls, or a checkmark to denote a selected row among multiple menu cells.
The control is made up of three parts:
- DropDownMenu: the menu itself, a UIView subclass that contains a UITableView presenting one or more DropDownMenuCell(s)
- DropDownMenuCell: a menu entry, implemented as a UITableViewCell subclass
- DropDownMenuTitleView: an optional title view to toggle the menu, which is usually put in the navigation bar and acts as a disclosure indicator
To see in action, take a look at the very beginning of Placeboard demo video.
DropDownMenuKit requires at least Xcode 9 and supports iOS 8 and higher.
|5||0.9 or branch swift-5|
|4.2||0.8.6 or branch swift-4.2|
|4.X||0.8.5 or branch swift-4.1|
|3.X||0.8.4 or branch swift-3.2|
Add the following line to your Cartfile, run
carthage update to build the framework and drag the built DropDownMenuKit.framework into your Xcode project.
Add the following lines to your Podfile and run
pod install with CocoaPods 0.36 or newer.
use_frameworks! pod "DropDownMenuKit"
If you don't use Carthage or CocoaPods, it's possible to drag the built framework or embed the source files into your project.
Build DropDownMenuKit framework and drop it into your Xcode project.
Drop DropDownMenu.swift, DropDownMenuCell.swift, DropDownTitleView.swift and DropDownMenuKit.xcassets into your Xcode project.
App Extension Usage
Add -DAPP_EXTENSION to DropDownMenuKit > Build Settings > Other Swift Flags.
DropDownMenuCell.menuActionmust take a single argument
DropDownMenuCell.menuTargetmust not be nil
*Note that all licence references and agreements mentioned in the DropDownMenuKit README section above are relevant to that project's source code only.