{"id":13696461,"url":"https://github.com/wwmz/WMZDialog","last_synced_at":"2025-05-03T17:31:14.277Z","repository":{"id":40210914,"uuid":"195928524","full_name":"wwmz/WMZDialog","owner":"wwmz","description":"功能最多样式最多的弹窗，支持普通/底部/日期/地区/日历/选择/编辑/分享/菜单/自定义弹窗等,支持多种动画,链式编程调用(Pop-up windows with the most functions and styles, support normal/bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)","archived":false,"fork":false,"pushed_at":"2023-06-08T07:42:49.000Z","size":14698,"stargazers_count":1068,"open_issues_count":7,"forks_count":184,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-08T15:03:48.476Z","etag":null,"topics":["calander","custom","datepicker","dialog","edittext","ios13present","locationpicker","menu","payment","pickview","popup","select","shareview","toast"],"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/wwmz.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}},"created_at":"2019-07-09T03:49:40.000Z","updated_at":"2025-03-13T11:16:36.000Z","dependencies_parsed_at":"2024-04-13T00:40:38.102Z","dependency_job_id":"711e495d-3c40-4628-98dc-b5b1935a9745","html_url":"https://github.com/wwmz/WMZDialog","commit_stats":{"total_commits":195,"total_committers":6,"mean_commits":32.5,"dds":0.5333333333333333,"last_synced_commit":"6bec0b49f6e215a846e0690620f2c0a73cf65859"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwmz%2FWMZDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwmz%2FWMZDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwmz%2FWMZDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwmz%2FWMZDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwmz","download_url":"https://codeload.github.com/wwmz/WMZDialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252226702,"owners_count":21714852,"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":["calander","custom","datepicker","dialog","edittext","ios13present","locationpicker","menu","payment","pickview","popup","select","shareview","toast"],"created_at":"2024-08-02T18:00:40.540Z","updated_at":"2025-05-03T17:31:13.476Z","avatar_url":"https://github.com/wwmz.png","language":"Objective-C","readme":"# WMZDailog - 功能最多样式最多的弹窗，支持普通/微信底部/提示/加载框/日期/地区/日历/选择/编辑/分享/菜单/吐司/自定义弹窗等,支持多种动画,链式编程调用，所有属性均可定制\n\n [![Platform](https://img.shields.io/badge/platform-iOS-red.svg)](https://developer.apple.com/iphone/index.action) \n [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/WMZDialog.svg)](https://img.shields.io/cocoapods/v/WMZDialog.svg)\n [![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://mit-license.org) \n \n特性\n==============\n- 链式语法 结构优雅\n- 支持任意位置视图的弹窗(包括滚动视图)\n- 支持单选/多选\n- 支持地区1/2/3级联动(自定义地区数据)\n- 支持无限级联动\n- 支持加载框\n- 支持提示框\n- 支持横竖屏\n- 支持时间选择(年月日时分秒自由组合+最大最小时间限制)\n- 支持支持多种动画\n- 支持所有字体颜色/字体大小的设置\n- 支持支付视图\n- 支持ios13Persent弹窗\n- 支持日历\n- 支持菜单选择\n- 支持默认选中\n- 支持所有列表cell样式的自定义\n- 支持自定义弹窗\n- 支持多弹窗优先级\n- 支持自定义深色模式\n\n## 调用枚举说明\n```\ntypedef enum : NSUInteger{\n    DialogTypeNornal = 1,           //默认弹窗\n    DialogTypeSheet,                //底部弹窗\n    DialogTypeAuto,                 //默认弹窗自动消失\n    DialogTypePay,                  //支付密码框\n    DialogTypeShare,                //带分享的弹窗\n    DialogTypeWrite,                //带编辑框的弹窗\n    DialogTypeSelect,               //带选择的弹窗\n    DialogTypePickSelect,           //拾取器弹窗\n    DialogTypeTime,                 //带倒计时的弹窗\n    DialogTypePop,                  //下拉列表选择弹窗\n    DialogTypeDown,                 //带下载的弹窗\n    DialogTypeMenusSelect,          //下拉无限级菜单弹窗\n    DialogTypeAdvertisement,        //广告弹窗\n    DialogTypeLocation,             //地区选择\n    DialogTypeDatePicker,           //日期选择\n    DialogTypeTabbarMenu,           //闲鱼 微博+号底部弹窗\n    DialogTypeNaviMenu,             //QQ顶部弹窗\n    DialogTypeLoading,              //加载框\n    DialogTypeCardPresent ,         //ios13 present效果\n    DialogTypeCalander,             //日历弹窗\n    DialogTypeToast,                //吐司\n    DialogTypeMyView,               //自定义弹窗\n}DialogType;\n```\n\n| 弹窗类型                | 图片                       |\n|-----------------------|-----------------------------------------------------|\n|  默认弹窗              | ![DialogTypeNornal.gif](https://upload-images.jianshu.io/upload_images/9163368-8c8a36d86d973324.gif?imageMogr2/auto-orient/strip)|\n|  底部弹窗              | ![DialogTypeSheet.gif](https://upload-images.jianshu.io/upload_images/9163368-bcc819412d5e76c5.gif?imageMogr2/auto-orient/strip) |\n|  自动消失hud弹窗              |![DialogTypeAuto.gif](https://upload-images.jianshu.io/upload_images/9163368-a75a65e5db1283cd.gif?imageMogr2/auto-orient/strip)|\n|  支付密码框              | ![DialogTypePay.gif](https://upload-images.jianshu.io/upload_images/9163368-767cda14847439c0.gif?imageMogr2/auto-orient/strip)|\n|  带分享的弹窗              | ![DialogTypeShare.gif](https://upload-images.jianshu.io/upload_images/9163368-8a68f0b5607126b2.gif?imageMogr2/auto-orient/strip)|\n|  带编辑框的弹窗              | ![DialogTypeWrite.gif](https://upload-images.jianshu.io/upload_images/9163368-e3b3601ffa320216.gif?imageMogr2/auto-orient/strip) |\n|  带选择的弹窗             | ![DialogTypeSelect.gif](https://upload-images.jianshu.io/upload_images/9163368-c095979faf7da4f9.gif?imageMogr2/auto-orient/strip) |\n|  拾取器弹窗             | ![DialogTypePickSelect.gif](https://upload-images.jianshu.io/upload_images/9163368-0532f85530352d04.gif?imageMogr2/auto-orient/strip)|\n|  带倒计时的弹窗             | ![DialogTypeTime.gif](https://upload-images.jianshu.io/upload_images/9163368-ee7369998dd6d31a.gif?imageMogr2/auto-orient/strip)|\n|  下拉列表选择弹窗            |![DialogTypePop.gif](https://upload-images.jianshu.io/upload_images/9163368-4063027ccdaf179a.gif?imageMogr2/auto-orient/strip)|\n|  带下载的弹窗             |![DialogTypeDown.gif](https://upload-images.jianshu.io/upload_images/9163368-73435002a47fba68.gif?imageMogr2/auto-orient/strip)|\n|  下拉无限级菜单弹窗          |![DialogTypeMenusSelect.gif](https://upload-images.jianshu.io/upload_images/9163368-ba777c81f258bc95.gif?imageMogr2/auto-orient/strip)|\n|  地区弹窗          |![DialogTypeLocation.gif](https://upload-images.jianshu.io/upload_images/9163368-443ae1d45ab85eaa.gif?imageMogr2/auto-orient/strip)|\n|  日期选择弹窗          |![DialogTypeDatePicker.gif](https://upload-images.jianshu.io/upload_images/9163368-87e47adc2a96d01e.gif?imageMogr2/auto-orient/strip)|\n| 顶部菜单弹窗           |![DialogTypeNaviMenu.gif](https://upload-images.jianshu.io/upload_images/9163368-6f8259333ecd64ad.gif?imageMogr2/auto-orient/strip)|\n| 底部菜单弹窗           |![DialogTypeTabbarMenu.gif](https://upload-images.jianshu.io/upload_images/9163368-79d72089a0ffc133.gif?imageMogr2/auto-orient/strip)|\n|  加载框          |![DialogTypeLoading.gif](https://upload-images.jianshu.io/upload_images/9163368-2cd96f99245809cb.gif?imageMogr2/auto-orient/strip)|\n|  ios13 present效果  |![DialogTypeCardPresent.gif](https://upload-images.jianshu.io/upload_images/9163368-663d6c5ce638ef12.gif?imageMogr2/auto-orient/strip)|\n|  日历弹窗       |![DialogTypeCalander.gif](https://upload-images.jianshu.io/upload_images/9163368-39f704f1b01e0acf.gif?imageMogr2/auto-orient/strip)|\n|  自定义弹窗       |![DialogTypeMyView.gif](https://upload-images.jianshu.io/upload_images/9163368-5fd959fca5baad8c.gif?imageMogr2/auto-orient/strip)|\n\n\n## 参数说明(详情使用看demo)\n### DialogTypeNornal/DialogTypeSheet/DialogTypeSelect。。。\n| 可配置通用参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wData                | id        | 数据源                             |\n| wShowAnimation      | DialogShowAnination      | 出现的动画  default AninatonZoomIn |\n| wHideAnimation                | DialogHideAnination| 消失的动画   default  none                 |\n| wAnimationDurtion                | NSTimeInterval        | 动画时间  default 0.8                          |\n| wParentVC      | UIViewController      | 父控制器 default 当前VC                                  |\n| wType                | DialogType      | 弹窗类型   default  DialogTypeNornal            |\n| wWidth                | CGFloat        | 弹窗视图的宽度  default  500                           |\n| wHeight      | CGFloat      | 弹窗视图的高度 default 自适应高度 300                        |\n| wMainOffsetY                | CGFloat      | Y间距   default 20              |\n| wMainOffsetX                | CGFloat        | X间距 default  15                            |\n| wMainBtnHeight                | CGFloat      | 按钮高度   default  60                  |\n| wMyCell                | UITableViewCell        | 自定义cell                              |\n| wMainToBottom                | BOOL     | 视图在最底部  default NO                |\n| wLineColor                | UIColor        |  线条的颜色 default 333333                             |\n| wLineAlpha                | CGFLoat      |  线条的透明度 default 0.5              |\n| wTitle                | NSString        | 标题文本  default 标题                             |\n| wMessage                | NSString        | 内容文本 default 内容                             |\n| wOKTitle                | NSString      | 确定按钮的文本 default 确定                |\n| wCancelTitle                | NSString        | 取消按钮的文本   default 取消                           |\n| wOKColor                | UIColor        |  确定按钮的颜色     default 0xFF9900                          |\n| wCancelColor                | UIColor | 取消按钮的颜色 default 0x666666                             |\n| wMainBackColor                | UIColor | 弹出视图的背景颜色     default 0xffffff            |\n| wTitleColor                | UIColor        | 标题文本的颜色   default 0x333333                            |\n| wMessageColor                | UIColor        | 内容文本的颜色   default 0x333333                            |\n| wOKFont                | CGFLoat        | 确定按钮的字体大小    default 16.0f                          |\n| wCancelFont                | CGFLoat      | 取消按钮的字体大小    default 16.0f               |\n| wTitleFont                | CGFLoat        | 标题文本的字体大小       default 14.0f                           |\n| wMessageFont                | CGFLoat        | 内容文本的字体大小     default 16.0f                        |\n| wMainRadius                | CGFLoat        |弹出视图的圆角        default 15.0f                   |\n| wShadowColor                | UIColor      | 遮罩层的颜色   default 0x333333            |\n| wShadowAlpha                | CGFLoat        | 遮罩层的透明度   default 0.4f                        |\n| wShadowCanTap                | BOOL        |  遮罩层能否点击关闭     default YES                         |\n| wShadowShow                | BOOL        | 遮罩层是否显示     default YES                    |\n| wEffectShow                | BOOL      |毛玻璃是否显示     default NO            |\n| wMultipleSelection                | BOOL        | 多选   default NO                          |\n| wSelectShowChecked                | BOOL        |选中是否打钩      default NO                 |\n| wTextAlignment                | NSTextAlignment| 文本对齐方式      default center                        |\n\n### DialogTypeAuto\n| DialogTypeAuto参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wDisappelSecond                | CGFLoat        | 自动消失的时间   default  1.5f                            |\n\n### DialogTypePay\n| DialogTypePay参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wSonData                | id        | 支付方式选择数据源                         |\n| wKeyBoardMarginY                | CGFLoat        | 弹窗与键盘的距离   default  70                            |\n| wPayNum                | NSInteger        | 支付密码位数   default  6(若要设置位数比6大的则要保证宽度足够)                          |\n| wDefaultSelectPayStr                | NSString        | 支付方式默认文本   default  农业银行                          |\n\n\n### DialogTypeWrite\n| DialogTypeWrite参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wPlaceholder                | NSString        | 提示语  default 请输入                       |\n| wWirteTextMaxLine                | NSInteger        | 编辑框可换行的最大行数   default 7                          |\n| wWirteTextMaxNum                | NSInteger        |编辑框可输入的最大数字   default   -1(-1为不限制)                   |\n| wWirteKeyBoardType                | UIKeyBoardType        | 编辑框的键盘type  default  UIKeyboardTypeDefault                          |\n\n### DialogTypePop\n| DialogTypePop参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wPercentAngle                | CGFLoat        | 弹出的气泡位置  default  0.5f                         |\n| wPercentOrginX                | CGFLoat        | 弹出视图的中心X轴偏移   default 1.0f (中间)                          |\n| wDirection                | DiaDirection        |弹出视图的方向 default   directionDowm                  |\n| wNavigationItem                | BOOL        | 导航栏位置   default  NO                          |\n| wTapView                | UIView        | 触发点的视图 default  -       必传                 |\n| wTapRect                | CGRect        |  如果弹出视图的frame不准确 可以自行调节   |\n| wTapViewType                | DiaPopInView        | 所在父视图的类型    default normal                |\n| wTapViewTableViewFoot                | BOOL        |父视图的tableviewHead还是tableviewFoot default Head           |\n| wTableViewSectionHead                | NSInteger        | 在tableViewHead上的按钮所在的headViewSection的index default 0             |\n| wPopViewBorderWidth                | CGFloat        | 弹窗视图的borderWidth default 0             |\n| wPopViewBorderColor                | UIColor        | 弹窗视图的borderColor default 主题颜色        |\n| wPopViewRectCorner                | DialogRectCorner        | 弹窗视图的圆角 可单独设置或者全部设置  默认无 和UIRectCorner用法相同 多了一个none            |\n\n### DialogTypeDown\n| DialogTypeDown参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wImageSize                | CGSize        | 图片的大小  default (50,50)                         |\n| wImageName                | NSString        | 图片路径名字   default  -                        |\n| wProgressTintColor                | UIColor        |进度条闲置时候的颜色 default   0xFF9900                  |\n| wTrackTintColor                | UIColor        |  进度条动作时候的颜色    default  0xF3F4F6                          |\n\n### DialogTypeMenusSelect\n| DialogTypeMenusSelect参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wTableViewColor                | NSArray        |  tableview的背景颜色  default  FFFFFF/F6F7FA/EBECF0/666666\n\n### DialogTypeLocation\n| DialogTypeLocation参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wLocationType                | NSInteger        | 地区关联层级  default  3                         |\n| wChainType                | ChainType        | 关联层级的样式    default  ChainPickView                        |\n| wSeparator                | NSString        |选中数据的分隔符 default  ,                  |\n\n### DialogTypeDatePicker\n| DialogTypeDatePicker参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wDateTimeType                | NSString        |  时间选择器样式    yyyy年MM月dd日HH时mm分ss秒(自由组合)  default yyyy:MM:dd HH:mm:ss                       |\n| wPickRepeat                | BOOL        | pickView无限循环   default  YES                        |\n| wDefaultDate                | NSDate        | 默认选中时间   default  当前时间                        |\n\n\n### Share/tabbarMenu/NaviMENU\n| Share/tabbarMenu/NaviMENU参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wColumnCount                | NSInteger        |  列    default  -                     |\n| wRowCount                | NSInteger        | 行   default  -                        |\n| 注意如果设置了行和列 要如期显示 要设置好wHeight  |\n\n### DialogTypeLoading\n| DialogTypeLoading参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wLoadingType                | LoadingStyle        | 加载框样式  default  LoadingStyleWait                         |\n| wLoadingSize                | CGSize        |  加载框size default  (90,90)                        |\n| wLoadingColor                | UIColor        |加载框线条颜色 default  确定按钮的文本颜色                  |\n\n### DialogTypeCardPresent\n| DialogTypeCardPresent参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wOpenScrollClose                | BOOL        | 滑动到顶部继续滑动可关闭  default  YES                         |\n| wLeftScrollClose                | BOOL        |  测滑可关闭 default  YES                      |\n| wOpenDragging                | BOOL        |开启拖动  default  YES                  |\n| wScaleParentVC                | BOOL        |缩放底部控制器 default YES                  |\n| wParentHeadView                | -        |自定义顶部视图  default  -                  |\n| wParentBottomView                | -        |自定义底部视图 default   -                  |\n\n### DialogTypeCalander\n| DialogTypeCalander参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wDirectionVertical                | BOOL        | 开启纵向滑动  default  NO(横向滑动)                         |\n| wCalanderCanScroll                | BOOL        |  开启滑动 default  YES                      |\n| wOpenChineseDate                | BOOL        |开启农历节日显示  default  YES                  |\n| wHideCalanderBtn                | BOOL        |隐藏日历上的操作按钮 default YES                  |\n| wDateShowCircle                | NSArray        |展示圆点的日期@[[NSDate date]]  default  -                  |\n| wReginerCollectionCell                | NSString       |注册自定义的collectionViewCell default   -                  |\n\n### DialogTypeMyView\n| DialogTypeMyView参数               | 类型      | 作用   (默认值)                                 | \n|------------------------|-----------|-----------------------------------------------------|\n| wAddBottomView                | BOOL        |是否添加底部按钮   default  NO                            |\n\n### Events\n| Events                | 作用   (默认值)                                 | \n|----------------------------------|-------------------------------------------|\n| wEventOKFinish       |确定点击事件                             |\n| wEventCancelFinish       |取消点击事件(不传默认没有取消按钮)                             |\n| wEventFinish       |所有的操作事件                          |\n| wEventClose       |弹窗关闭事件                           |\n| wEventMenuClick       |菜单点击事件                            |\n| wSelectCell       |自定义cell点击                             |\n| wMyCell       |自定义cell                              |\n| wMyDiaLogView       |自定义弹窗View(返回最底部的view)                         |\n| wCalanderCell       |自定义日历cell                              |\n| wCalanderCellClick       |自定义日历点击                              |\n\n\n用法\n==============\n\n### 默认模式\n\n      Dialog().wTypeSet(DialogTypeNornal).wStart();\n    \n### 多选模式\n\n      Dialog().wTypeSet(type)\n               .wEventOKFinishSet(^(id anyID, id otherData) {\n                    NSLog(@\"%@\",anyID);\n                })\n                //出现动画\n                .wShowAnimationSet(AninationCombineTwo)\n                .wTitleSet(@\"\")\n                .wMultipleSelectionSet(YES).wSelectShowCheckedSet(YES)\n                .wDataSet(@[@\"游泳\",@\"打篮球\",@\"打羽毛球\",@\"爬山\",@\"踢足球\",@\"乒乓球\"])\n                .wStart();\n\n### 自定义弹窗(优酷) 更多自定义弹窗看demo  \n    \t\n     Dialog()\n     .wTypeSet(DialogTypeMyView)\n     .wMyDiaLogViewSet(^UIView *(UIView *mainView) {\n         mainView.layer.masksToBounds = YES;\n         UIView *view = [[CustomView alloc] initWithFrame:CGRectMake(0, 0, 300, 250) superView:mainView];\n         mainView.layer.masksToBounds = YES;\n         mainView.layer.cornerRadius = 10;\n         return view;\n     })\n     .wStart();\n    \n### 自定义弹窗传入实现WMZCustomPrototol协议的UIView\n        \n     Dialog()\n     .wOpenKeyBoardSet(YES)\n     .wCustomView(DemoTwoView.new)\n     .wStart();\n    \n### 传入param\n\n     WMZDialogParam *param = WMZDialogParam.new;\n     param.wType = DialogTypeShare;\n     param.wEventMenuClick = ^(id anyID, NSInteger section, NSInteger row) {\n                \n     };\n     param.wData = @[\n         @{@\"name\":@\"微信\",@\"image\":@\"wallet\"},\n         @{@\"name\":@\"支付宝\",@\"image\":@\"aaa\"},\n     ];\n     param.wRowCount = 1;\n     param.wColumnCount = 4;\n     Dialog().wStartParam(param);\n\n### 暗黑模式\n\n    Dialog()\n    .wTypeSet(DialogTypeSheet)\n    .wDataSet(@[@\"男\",@\"女\",@\"保密\"])\n    .wDarkMode(nil)\n    .wStartView(self.view);\n\n### 常见问题（开始收录）\n\n     1 如何改变位置？\n     (1) version \u003c 1.4.2\n    .wCustomMainViewSet(^(UIView *mainView) {\n        CGRect rect = mainView.frame;\n        rect.origin.x = 30;\n        rect.origin.y = 100;\n        mainView.frame = rect;\n    })\n     (2) version \u003e 1.4.2 (wPoint)\n    2 默认是开启横竖屏监听的如果有问题可以把wDeviceDidChange设为NO\n    3 多个弹窗优先级可以设置wLevel(同个父级有效)\n    4 默认弹窗wStart是在window层 如果要设置不同层可以用wStartView(传入父view)\n    \n     (3)///设置全局默认配置 主题色字体等 \n     [WMZDialogManage settingGlobalConfig:^(WMZDialogParam * _Nullable param) {\n         param.wOKColor = UIColor.redColor;\n     }];\n\n\n\n### 依赖\n无任何依赖 \n\n安装\n==============\n\n### CocoaPods  \n1. 将 cocoapods 更新至最新版本.\n2. 在 Podfile 中添加    pod 'WMZDialog'\n3. 执行 `pod install` 或 `pod update`。\n4. 导入 #import \"WMZDialog.h\"。\n\n\n### 手动安装\n\n1. 下载 WMZDialog 文件夹内的所有内容。\n2. 将 WMZDialog 内的源文件添加(拖放)到你的工程。\n3. 导入 #import \"WMZDialog.h\"\n\n系统要求\n==============\n该库最低支持 `iOS 9.0` 和 `Xcode 9.0`。\n\n\n个人主页\n==============\n使用过程中如果有什么bug欢迎给我提issue 我看到就会解决\n[我的简书](https://www.jianshu.com/p/601ad3960353)\n\n更新日记\n==============\n- 20221119 v1.5.0 fix 日历问题 ，优化横竖屏适配\n- 20221119 v1.4.99\n- 20220929 v1.4.12 新增富文本支持 \n- 20220926 v1.4.11 修复日历bug\n- 20220925 v1.4.8 fix #68 #66 #60 #58 新增全局配置使用 新增多个属性\n- 20211229 v1.4.6 修复崩溃 删除1.4.5 1.4.3有问题版本\n- 20211018 v1.4.2 新增wPoint自定义位置\n- 20210929 v1.4.0 新增暗黑模式 适配ios15 底层修改 \n- 20210514 v1.3.2 修改wDidChange和wLevel默认值\n- 20210513 v1.3.1 \n(1)新增通用wAutoClose属性 响应库内的自动关闭 default YES 如果设为NO则需要自己调用手动关闭的类方法 closeWithshowView \n(2) writeType新增 wRegular属性  正则校验规则 default nil  例如 可传入 @{@\"reguler\":@\"^1+[3578]+\\\\d{9}\",@\"reguletTip\":@\"请输入正确的手机号\"}\n- 20210501 v1.3.0 新增DialogTypeToast类型 修复若干问题（消除警告 建议更新至此）\n- 20210412 v1.2.6 新增wLevel属性可管理多个弹窗的层级, 加入WMZDialogManage管理类\n- 20210202 v1.2.5 优化LoadingType \n- 20210113 v1.2.4 优化静态库xib问题 LoadingType优化 可作为项目的loading框使用\n- 20210107 v1.2.3 优化选择弹窗 解决pod里没有xib文件导致报错的问题\n- 20210105 v1.2.1 日历弹窗新增多个连续区域 支持横开启屏监听wDeviceDidChange 优化列表选项\n- 20201221 v1.2.0 日历弹窗新增连续区域 pop弹窗修复bug+新增自定义三角形size\n- 20201218 v1.1.10 修复ios14无法弹出的问题\n- 20201118 v1.1.9 新增阴影点击回调 新增自定义地区数据\n- 20201009 v1.1.8 修复bug\n- 20200929 v1.1.7 支持地区/拾取器/多级菜单 除了关于时间的默认选中用wDefaultDate,其他使用wListDefaultValue\n- 20200920 v1.1.6 适配ios14 \n- 20200828 v1.1.5 新增列表默认选中的属性\n- 20200606 v1.1.3 新增wTag可防止重复点击 新增自定义frame的方法\n- 20200519 v1.1.2 优化一些地方\n- 20200117 v1.1.0 更新一波bug\n- 20200107 v1.0.7 修复bug\n- 20191225 v1.0.6 优化日期选择弹窗类型 \n- 20191223 优化pop弹窗类型 支持圆角的定制 支持tableview等滚动视图的弹出\n- 20191216 v1.0.5 修复ios10崩溃问题\n- 20191214 v1.0.4 修复ios9.0某个type闪退问题和增加normalType确定或取消文字过多自动换行\n- 20191124 v1.0.3 修复pod 版本过低导致出现weak的问题\n- 20191113 v1.0.2 修复pod指定ios版本的问题\n- 20191109 v1.0.1\n- 20191112 新增wDefaultDate属性  表示默认选中时间 default 当前时间\n- 20191108 新增ios13 present弹窗\n- 20191107 新增日历弹窗\n- 20191105 修改自动消失的样式 可支持图文\n- 20191005 优化代码修复地区弹窗bug\n","funding_links":[],"categories":["UI Components","OOM-Leaks-Crash"],"sub_categories":["Menu-PopupView"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwmz%2FWMZDialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwmz%2FWMZDialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwmz%2FWMZDialog/lists"}