文章来源:淘论文网   发布者: 毕业设计   浏览量: 24



还可以点击去查询以下关键词:
[close]    [按钮]    [旋转]    [下拉菜单]    [支持]    [单选]    [多选]    [close按钮可旋转的 下拉菜单(支持单选多选)]   

项目介绍:

github
https://github.com/YinTokey/YTDropMenu

:) 觉得ok, 可以给个star吧,有发现任何问题或者改进,开题报告,及时issue我。
后续会进一步增加更多功能。

YTDropMenu

A drop menu with cancel button.

使用方法:#import 'YTDropMenu.h'@interface ViewController ()<YTDropMenuDelegate> @property (nonatomic,strong) YTDropMenu *dropMenu; // 设置标题数组 NSArray *arr = [NSArray arrayWithObjects:@'CELTICS',@'CLIPPERS',@'WARRIORS',nil]; self.dropMenu = [[YTDropMenu alloc ]initWithDataSource:arr NavTitile:@'Teams' ToNavigationController:self.navigationController]; self.dropMenu.delegate = self; // 设置图片数组,如果不需要展示图片,这一步可以不做 NSArray *array = @[@'1',@'2',@'3']; [self.dropMenu setCelliconsArray:array]; //设置背景颜色 [self.dropMenu setAllColor:[UIColor colorWithRed:55/255.0f green:112/255.0f blue:126/255.0f alpha:1.0f]];//调用, 显示它 - (IBAction)dropButtonClick:(id)sender { [self.dropMenu show]; }// 实现代理方法,开题报告,定位到点击的indexPath - (void)dropMenu:(YTDropMenu *)dropMenu didSelectIndexPath:(NSIndexSet *)selIndexPath


这里还有:


还可以点击去查询:
[close]    [按钮]    [旋转]    [下拉菜单]    [支持]    [单选]    [多选]    [close按钮可旋转的 下拉菜单(支持单选多选)]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8393.docx
  • 上一篇:VR全景播放器的Demo,毕业设计用Swift配合OpenGL ES实现的
  • 下一篇:有设计感的定制JMFunLoader