Latest 0.0.4
Homepage https://github.com/qqianng/CZAreaPickerView
License MIT
Platforms ios 8.0, requires ARC
Authors

一个省市区联动的地址选择器。

screen_shot1
screen_shot2

Requirements

iOS8.0+

Installation

  1. 将"CZAreaPickerView"文件夹添加到项目中
  2. import "CZAreaPickerView.h"

Usage

It is very simple to use it, you just only need to add two lines of code like below.

CZAreaPickerView *areaPickerView = [[CZAreaPickerView alloc] init];
self.areaTextField.inputView = areaPickerView;

You also can adjust the appearance of the picker view like that:

areaPickerView.separator = @", ";
areaPickerView.font = [UIFont systemFontOfSize:18];
areaPickerView.textColor = [UIColor colorWithWhite:0.1 alpha:1];
areaPickerView.backgroundColor = [UIColor colorWithWhite:0.8 alpha:1];

Latest podspec

{
    "name": "CZAreaPickerView",
    "version": "0.0.4",
    "summary": "a eszy use area picker.",
    "homepage": "https://github.com/qqianng/CZAreaPickerView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "lqq": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/qqianng/CZAreaPickerView.git",
        "tag": "0.0.4"
    },
    "source_files": "CZAreaPickerView/**/*.{h,m}",
    "resources": "CZAreaPickerView/**/*.{plist}",
    "requires_arc": true
}

Pin It on Pinterest

Share This