All Projects → KrishnaPatell → Kpdropmenu

KrishnaPatell / Kpdropmenu

Licence: mit
KPDropMenu is an Objective-C port of HADropDown With Additional features

Projects that are alternatives of or similar to Kpdropmenu

Dropdownmenukit
UIKit drop down menu, simple yet flexible and written in Swift
Stars: ✭ 246 (+392%)
Mutual labels:  menu, dropdown
react-native-select-pro
React Native dropdown (select) component developed by Mobile Reality
Stars: ✭ 79 (+58%)
Mutual labels:  dropdown, menu
Easydropdown
💧 Fantastic dropdown in Swift
Stars: ✭ 254 (+408%)
Mutual labels:  menu, dropdown
Ifmmenu
仿微信添加菜单
Stars: ✭ 235 (+370%)
Mutual labels:  menu, dropdown
Rsselectionmenu
An elegant selection list or dropdown menu for iOS with single or multiple selections.
Stars: ✭ 271 (+442%)
Mutual labels:  list, dropdown
React Native Dropdown Picker
A single / multiple, categorizable & searchable item picker (dropdown) component for react native which supports both Android & iOS.
Stars: ✭ 230 (+360%)
Mutual labels:  menu, dropdown
ContextMenuSwift
A better version of iOS 13 Context Menu
Stars: ✭ 162 (+224%)
Mutual labels:  dropdown, menu
Bootstrap Dropdown Hover
Bootstrap based responsive mulltilevel dropdown navigation menu with fascinating animations
Stars: ✭ 115 (+130%)
Mutual labels:  menu, dropdown
react-native-panel
A Customizable React Native Panel for Android and iOS
Stars: ✭ 35 (-30%)
Mutual labels:  dropdown, menu
Menu
The most customizable menu for macOS apps.
Stars: ✭ 84 (+68%)
Mutual labels:  dropdown, menu
React Dropdown Select
Customisable dropdown select for react
Stars: ✭ 227 (+354%)
Mutual labels:  menu, dropdown
Easydropdown
A lightweight library for building beautiful styleable <select> elements
Stars: ✭ 337 (+574%)
Mutual labels:  menu, dropdown
Azdropdownmenu
A simple dropdown menu component for iPhone
Stars: ✭ 198 (+296%)
Mutual labels:  menu, dropdown
React Menu
React component for building accessible menu, dropdown, submenu, context menu and more.
Stars: ✭ 237 (+374%)
Mutual labels:  menu, dropdown
Dopdropdownmenu Enhanced
DOPDropDownMenu 添加双列表 优化版 新增图片支持(double tableView, The optimization version ,new add image,detailText)
Stars: ✭ 1,757 (+3414%)
Mutual labels:  menu, dropdown
clicky-menus
Simple click-triggered navigation submenus. Accessible and progressively enhanced.
Stars: ✭ 76 (+52%)
Mutual labels:  dropdown, menu
Yndropdownmenu
✨ Awesome Dropdown menu for iOS with Swift 5.0
Stars: ✭ 1,259 (+2418%)
Mutual labels:  menu, dropdown
Custom Reactjs Dropdown Components
Custom dropdown components for ReactJS
Stars: ✭ 110 (+120%)
Mutual labels:  menu, dropdown
Accordion
Silky-smooth accordion widgets with no external dependencies.
Stars: ✭ 32 (-36%)
Mutual labels:  dropdown, menu
Vue Stripe Menu
Creating a navigation menu with animations like on Stripe
Stars: ✭ 266 (+432%)
Mutual labels:  menu, dropdown

KPDropMenu

KPDropMenu is an Objective-C port of HADropDown. It expands and collapses in two directions (up & down). It allows the user to select only one item at a time. One can customize font, color, item height, alignment, etc in code (as well as Interface Builder).

Screenshot

Installation

Simply include KPDropMenu.h and KPDropMenu.m file into your project directory.

Usage

1. Through interface builder :

  • Add UIView in interface builder and change its class from UIView to KPDropMenu

  • Customize Properties with the help of attribute inspector

2. Via code

KPDropMenu *dropNew = [[KPDropMenu alloc] initWithFrame:CGRectMake(8, 250, 150, 50)];
dropNew.delegate = self;
dropNew.items = @[@"Apple", @"Grapes", @"Cherry", @"Pineapple", @"Mango", @"Orange"];
dropNew.title = @"Select Again";
dropNew.itemsFont = [UIFont fontWithName:@"Helvetica-Regular" size:12.0];
dropNew.titleTextAlignment = NSTextAlignmentCenter;
dropNew.DirectionDown = NO;
[self.view addSubview:dropNew];

Delegate Methods

To Use delegate methods, implement KPDropMenuDelegate protocol. All these 3 methods are optional.

-(void)didSelectItem : (KPDropMenu *) dropMenu atIndex : (int) atIntedex;
-(void)didShow : (KPDropMenu *)dropMenu;
-(void)didHide : (KPDropMenu *)dropMenu;

Requirements

iOS 7.0 and later

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].