Latest | 1.0.0 |
---|---|
Homepage | https://github.com/zyp688/YPAreaSelector |
License | MIT |
Platforms | ios 8.0 |
Authors |
YPAreaSelector(QQ打趣群:68153279)
☆☆☆ “iOS地址选择器、三级联动(省市区)选择器” ☆☆☆
支持pod导入
pod ‘YPAreaSelector’,’~> 1.0.0′
更改记录:
2019.03.19 –> 更新地区数据,支持Cocoapod导入
2019.03.18 –> 初始化工程,规整程序路径.
代码应用
//初始化
+(instancetype)createAreasSelectView;
//更新所需要的样式信息 具体支持的修改信息请移步 YPAreaSelectorConfig
- (void)updateConfig:(void(^)(YPAreaSelectorConfig *config))config;
//显示选择器并拿到选择的结果回调
- (void)showAreaSelectorChooseComplete:(void(^)(NSString *_Nullable province, NSString *_Nullable city, NSString *_Nullable county))complete;
效果图演示
【借鉴声明:本篇无借鉴,如有雷同,纯属扯淡】
Latest podspec
{ "name": "YPAreaSelector", "version": "1.0.0", "summary": "u4e09u7ea7u8054u52a8u5730u5740u9009u62e9u5668(u56fdu5185)", "description": "u5305u542bu6700u65b0u56fdu5185u6570u636eu7684u5730u5740u9009u62e9u5668uff0cu96c6u6210u6a21u5f0fu5206u4e3au7701u5e02/u7701u5e02u533au8054u52a8u9009u62e9", "homepage": "https://github.com/zyp688/YPAreaSelector", "license": { "type": "MIT", "file": "FILE_LICENSE" }, "authors": { "zyp": "[email protected]" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/zyp688/YPAreaSelector.git", "tag": "1.0.0" }, "source_files": "YPAreaSelector/*.{h,m}", "public_header_files": "YPAreaSelector/YPAreaSelectView.h", "resources": "YPAreaSelector/AreasData.bundle" }
Tue, 19 Mar 2019 11:24:04 +0000