{"id":15030215,"url":"https://github.com/12207480/dopdropdownmenu-enhanced","last_synced_at":"2025-05-15T15:07:08.243Z","repository":{"id":56907721,"uuid":"32794296","full_name":"12207480/DOPDropDownMenu-Enhanced","owner":"12207480","description":"DOPDropDownMenu 添加双列表 优化版 新增图片支持（double tableView, The optimization version ，new add image,detailText）","archived":false,"fork":false,"pushed_at":"2019-04-12T11:08:45.000Z","size":435,"stargazers_count":1747,"open_issues_count":38,"forks_count":357,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-05-15T15:07:00.790Z","etag":null,"topics":["dopdropdownmenu","dropdown","menu","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/12207480.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-24T11:24:47.000Z","updated_at":"2025-03-31T13:15:01.000Z","dependencies_parsed_at":"2022-08-20T19:50:28.114Z","dependency_job_id":null,"html_url":"https://github.com/12207480/DOPDropDownMenu-Enhanced","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12207480%2FDOPDropDownMenu-Enhanced","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12207480%2FDOPDropDownMenu-Enhanced/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12207480%2FDOPDropDownMenu-Enhanced/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12207480%2FDOPDropDownMenu-Enhanced/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/12207480","download_url":"https://codeload.github.com/12207480/DOPDropDownMenu-Enhanced/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254364270,"owners_count":22058878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dopdropdownmenu","dropdown","menu","objective-c"],"created_at":"2024-09-24T20:12:46.406Z","updated_at":"2025-05-15T15:07:03.234Z","avatar_url":"https://github.com/12207480.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOPDropDownMenu-Enhanced\n\n**New Update:**\u003cbr\u003e\nsupport cell image \n新增cell 图片 支持, 新增 detailText  \n\nDOPDropDownMenu 添加双列表 优化版 （double tableView, The optimization version ）\n\n首先 感谢 DOPDropDownMenu 作者的无私奉献和允许,  https://github.com/dopcn/DOPDropDownMenu \n\n我在此基础上美化来了界面，添加了双列表的应用，优化了代码，增强了稳定性，希望大家喜欢\n\nFirst, I would like to thank the author of the [DOPDropDownMenu](https://github.com/dopcn/DOPDropDownMenu) for their selfless dedication.\n\nThis enhanced version includes beautiful improvements to the interface, double tableview capability, optimized code, and improved stability.  Enjoy!\n\n## CocoaPods\n```\npod 'DOPDropDownMenu-Enhanced', '~\u003e 1.0.0'\n```\n\n### 应用截图\n![image](https://raw.githubusercontent.com/12207480/DOPDropDownMenu-Enhanced/master/screenshot/dopmenu.png)\n![image](https://raw.githubusercontent.com/12207480/DOPDropDownMenu-Enhanced/master/screenshot/dopmendemo.gif)\n\n### 用法\n\n```objc\n#pragma mark - data source protocol\n@class DOPDropDownMenu;\n\n@protocol DOPDropDownMenuDataSource \u003cNSObject\u003e\n\n@required\n\n/**\n *  返回 menu 第column列有多少行\n */\n- (NSInteger)menu:(DOPDropDownMenu *)menu numberOfRowsInColumn:(NSInteger)column;\n\n/**\n *  返回 menu 第column列 每行title\n */\n- (NSString *)menu:(DOPDropDownMenu *)menu titleForRowAtIndexPath:(DOPIndexPath *)indexPath;\n\n@optional\n/**\n *  返回 menu 有多少列 ，默认1列\n */\n- (NSInteger)numberOfColumnsInMenu:(DOPDropDownMenu *)menu;\n\n// 新增  返回 menu 第column列 每行image\n- (NSString *)menu:(DOPDropDownMenu *)menu imageNameForRowAtIndexPath:(DOPIndexPath *)indexPath;\n\n// 新增 detailText ,right text\n- (NSString *)menu:(DOPDropDownMenu *)menu detailTextForRowAtIndexPath:(DOPIndexPath *)indexPath;\n\n/** 新增\n *  当有column列 row 行 返回有多少个item ，如果\u003e0，说明有二级列表 ，=0 没有二级列表\n *  如果都没有可以不实现该协议\n */\n- (NSInteger)menu:(DOPDropDownMenu *)menu numberOfItemsInRow:(NSInteger)row column:(NSInteger)column;\n\n/** 新增\n *  当有column列 row 行 item项 title\n *  如果都没有可以不实现该协议\n */\n- (NSString *)menu:(DOPDropDownMenu *)menu titleForItemsInRowAtIndexPath:(DOPIndexPath *)indexPath;\n\n// 新增 当有column列 row 行 item项 image\n- (NSString *)menu:(DOPDropDownMenu *)menu imageNameForItemsInRowAtIndexPath:(DOPIndexPath *)indexPath;\n\n// 新增\n- (NSString *)menu:(DOPDropDownMenu *)menu detailTextForItemsInRowAtIndexPath:(DOPIndexPath *)indexPath;\n\n@end\n\n#pragma mark - delegate\n@protocol DOPDropDownMenuDelegate \u003cNSObject\u003e\n@optional\n/**\n *  点击代理，点击了第column 第row 或者item项，如果 item \u003e=0\n */\n- (void)menu:(DOPDropDownMenu *)menu didSelectRowAtIndexPath:(DOPIndexPath *)indexPath;\n@end\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F12207480%2Fdopdropdownmenu-enhanced","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F12207480%2Fdopdropdownmenu-enhanced","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F12207480%2Fdopdropdownmenu-enhanced/lists"}