Latest 0.0.4
Homepage https://github.com/jivyCoder/JWAddressPickerView
License MIT
Platforms ios 8.0, requires ARC

封装好的地址选择器 使用类方法调用 方便快捷

1.单数组调用方法,只需传一个数组即可

 NSArray *array = @[@"哈哈",@"我",@"你们",@"他",@"哎呦,不错哦",@"也是醉了",@"嗯呢",@"叮咚",@"xxx",@"xxxx",@"666666",@"6翻了"];
 [SinglePickerView showWithDataArray:array block:^(NSString *str, NSInteger index) {
        [btn setTitle:str forState:UIControlStateNormal];
 }];

singlePicker.gif

2地址选择器调用方法

[JWAddressPickerView showWithAddressBlock:^(NSString *province, NSString *city, NSString *area) {
        NSString *title = [NSString stringWithFormat:@"%@-%@-%@",province,city,area];
        [btn setTitle:title forState:UIControlStateNormal];
    }];

addressPicker.gif

License

JWAddressPickerView is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "JWAddressPickerView",
    "version": "0.0.4",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "u5c01u88c5u597du7684u5730u5740u9009u62e9u5668",
    "description": "u4e0du5f15u5165u4efbu4f55u7b2cu4e09u65b9u6846u67b6,u4f7fu7528u7c7bu65b9u6cd5u8c03u7528,u65b9u4fbfu5febu6377",
    "homepage": "https://github.com/jivyCoder/JWAddressPickerView",
    "license": "MIT",
    "authors": "jivyCoder",
    "source": {
        "git": "https://github.com/jivyCoder/JWAddressPickerView.git",
        "tag": "0.0.4"
    },
    "source_files": "JWAddressPickerView",
    "resources": "JWAddressPickerView/JWAddress.plist",
    "requires_arc": true
}

Pin It on Pinterest

Share This