{"id":13696551,"url":"https://github.com/lyb5834/YBPopupMenu","last_synced_at":"2025-05-03T17:31:31.787Z","repository":{"id":47368175,"uuid":"73247792","full_name":"lyb5834/YBPopupMenu","owner":"lyb5834","description":"快速集成popupMenu","archived":false,"fork":false,"pushed_at":"2024-05-09T03:23:39.000Z","size":3263,"stargazers_count":881,"open_issues_count":3,"forks_count":177,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-11-29T21:45:41.341Z","etag":null,"topics":["bubble","bubbles","menu","pop","popup","popup-menu","qq","wechat","weixin"],"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/lyb5834.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-09T02:58:30.000Z","updated_at":"2024-11-29T09:39:23.000Z","dependencies_parsed_at":"2024-11-13T00:46:04.188Z","dependency_job_id":null,"html_url":"https://github.com/lyb5834/YBPopupMenu","commit_stats":{"total_commits":42,"total_committers":4,"mean_commits":10.5,"dds":"0.23809523809523814","last_synced_commit":"f7cc2e63194a4fb567eef76b6fff7846d7b60d86"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyb5834%2FYBPopupMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyb5834%2FYBPopupMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyb5834%2FYBPopupMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyb5834%2FYBPopupMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyb5834","download_url":"https://codeload.github.com/lyb5834/YBPopupMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252226749,"owners_count":21714864,"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":["bubble","bubbles","menu","pop","popup","popup-menu","qq","wechat","weixin"],"created_at":"2024-08-02T18:00:42.409Z","updated_at":"2025-05-03T17:31:31.007Z","avatar_url":"https://github.com/lyb5834.png","language":"Objective-C","readme":"# YBPopupMenu\n * 快速集成popupMenu\n\n# 效果图\n![(演示效果)](https://lyb5834.github.io/Images/YBPopupMenuGif.gif)\n\n# cocoapods支持\n  * 只需在`Podfile`中加入`pod 'YBPopupMenu'`后`pod install`即可\n\n# SwiftPackageManager(SPM)支持\n\n# 最近更新\n* 新增箭头样式\n\n| 样式 | 图例 |\n|------|------|\n| `YBPopupMenuArrowStyleCurve` **默认** | ![curve](https://lyb5834.github.io/Images/curve_arrow.png) |\n| `YBPopupMenuArrowStyleStraight` | ![straight](https://lyb5834.github.io/Images/straight_arrow.png) |\n\n* 增加了高斯模糊视图\n\n# 之前更新\n  * 修复了快速点击屏幕动画重复执行的问题\n  * 增加了`dismissAllPopupMenu` 方法，方便一键隐藏所有popupMenu\n  * 删除老版初始化方法，避免频繁调用`[self updateUI]`方法\n  * 增加横竖屏适配\n  * 增加可选择的动画，暂时只有`YBPopupMenuAnimationStyleScale` 和 `YBPopupMenuAnimationStyleFade`两种，可自定义\n  * 代码全部重构，不过完全兼容原先的API接口\n  * 增加了`YBPopupMenuPriorityDirection`属性，可以设置箭头的第一优先级方向，当将要超过屏幕时会自动反转方向\n  * 增加了`rectCorner`属性，可以自定义圆角（当反转时会自动镜像的反转圆角）\n  * 可以设置边框颜色，边框粗细等\n  * 支持传入`NSAttributedString`\n  * 开放部分私有属性，如`titles`，`images`,`tableView`,`minSpace`等等\n  * 点击回调方法有更新（旧的还可以用）\n  * 增加可自定义Cell的回调，遇到奇葩需求可以自定义设置（具体使用方法可参考demo）\n\n# 注意\n  1. 当箭头优先级是`YBPopupMenuPriorityDirectionLeft`/`YBPopupMenuPriorityDirectionRight`/`YBPopupMenuPriorityDirectionNone`时需手动设置`arrowPosition`来设置箭头在该行的位置\n  2. 边框宽度不宜过粗，影响美观\n\n# 使用方法\n  * `#import \"YBPopupMenu.h\"`\n  \n  ```\n  [YBPopupMenu showAtPoint:p titles:TITLES icons:nil menuWidth:110 otherSettings:^(YBPopupMenu *popupMenu) {\n        popupMenu.dismissOnSelected = NO;\n        popupMenu.showShadow = YES;\n        popupMenu.delegate = self;\n        popupMenu.offset = 10;\n        popupMenu.type = YBPopupMenuTypeDark;\n        popupMenu.rectCorner = UIRectCornerBottomLeft | UIRectCornerBottomRight;\n        popupMenu...;\n    }]; \n  ```\n\n\n# 版本支持\n  * `xcode7.0+`\n\n  * 如果您在使用本库的过程中发现任何bug或者有更好建议，欢迎 [@issues](https://github.com/lyb5834/YBPopupMenu/issues) 我或联系本人email lyb5834@126.com\n","funding_links":[],"categories":["UI Components","Objective-C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyb5834%2FYBPopupMenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyb5834%2FYBPopupMenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyb5834%2FYBPopupMenu/lists"}