All Projects → chquanquan → AreaPickerView

chquanquan / AreaPickerView

Licence: Apache-2.0 license
areapicker in china, easy to use. 中国的地区选择器.简单易用.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to AreaPickerView

Alerts And Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
Stars: ✭ 5,267 (+16359.38%)
Mutual labels:  textfield, pickerview
BNTextField-Limit
No description or website provided.
Stars: ✭ 20 (-37.5%)
Mutual labels:  textfield
Material
A UI/UX framework for creating beautiful applications.
Stars: ✭ 11,870 (+36993.75%)
Mutual labels:  textfield
CountryPickerView
A simple country code picker on iOS, support chinese,english,spanish,national flag,ISO 3166-1 and calling code.(一个简洁的iOS国家代码选择器,支持中文、英语、西班牙语、国旗、ISO 3166-1、国际电话区号) your can search the ISO 3166 code,calling code or country name,the picker view will refresh automatically according to the content of your search.(你可以搜索ISO 3166码,电话区号或者国家名字,pikerView将会…
Stars: ✭ 26 (-18.75%)
Mutual labels:  pickerview
Cocoatextfield
Apple TextField created according to the Material.IO guidelines of 2019. Featured at Medium.
Stars: ✭ 195 (+509.38%)
Mutual labels:  textfield
FormToolbar
Simple, movable and powerful toolbar for UITextField and UITextView.
Stars: ✭ 85 (+165.63%)
Mutual labels:  textfield
Cminputview
💪之前代码是基于UITextView进行的封装,侵入性较强,不方便使用,现使用Category重构代码,支持Cocoapods
Stars: ✭ 149 (+365.63%)
Mutual labels:  textfield
APJTextPickerView
APJTextPickerView is simple implementation for UITextField to use as UIPickerView and UIDatePicker.
Stars: ✭ 21 (-34.37%)
Mutual labels:  pickerview
ATGValidator
iOS validation framework with form validation support
Stars: ✭ 51 (+59.38%)
Mutual labels:  textfield
Stringformatter
Simple Text Formetter (Credit Card Number, Phone Number, Serial Number etc.) Can be used in all text inputs according to the format pattern. If desired, large minor character restrictions can be made in the format pattern.
Stars: ✭ 231 (+621.88%)
Mutual labels:  textfield
You Dont Need Javascript
CSS is powerful, you can do a lot of things without JS.
Stars: ✭ 16,514 (+51506.25%)
Mutual labels:  textfield
Keyboardavoidanceswiftui
How to move SwiftUI view up when keyboard appears https://www.vadimbulavin.com/how-to-move-swiftui-view-when-keyboard-covers-text-field/
Stars: ✭ 198 (+518.75%)
Mutual labels:  textfield
iOSUtilitiesSource
IOS Utilities Library for Swift
Stars: ✭ 46 (+43.75%)
Mutual labels:  textfield
Keyboardtextfield
KeyboardTextField is a lightweight, simple, non-invasive keyboard accompanying input box! Write in Swift!
Stars: ✭ 170 (+431.25%)
Mutual labels:  textfield
TTADataPickerView
A Swift picker view allow you to pick the titles you want and the date, time or dateTime in one view
Stars: ✭ 35 (+9.38%)
Mutual labels:  pickerview
Underlinetextfield
Simple UITextfield Subclass with state
Stars: ✭ 156 (+387.5%)
Mutual labels:  textfield
Ragtextfield
Subclass of UITextField that adds an animated placeholder and an optional hint label below the text.
Stars: ✭ 227 (+609.38%)
Mutual labels:  textfield
RPicker
Simple and Easy-to-Use iOS Swift Date and Options Picker
Stars: ✭ 130 (+306.25%)
Mutual labels:  pickerview
LGApplications
个人小demo集合:①ActionSheet; ②PickerView; ③ScrollView嵌套; ④渐变文字Label; ⑤tableView实现单选;
Stars: ✭ 36 (+12.5%)
Mutual labels:  pickerview
VPAutoComplete
A simple Auto Complete UITextField also support UITableView written in swift 4.2
Stars: ✭ 20 (-37.5%)
Mutual labels:  textfield

AreaPickerView_swift

areapicker in china, easy to use. 中国的地区选择器.简单易用.

之前的地址选择器都是网上找的,但是网上的第三方,功能很多,看起来还要配置不少东西.用起来麻烦. 然后,我就自己写了一个.只有地址选择功能,连数据源都自己搞好…方便很多.后来想想不知道,有没有人也像我一样只是想到一个简单的地区选择器而已.然后,我就上传上github上面了….. 希望有人能看到吧…

Alt Text

把AreaPickerView文件夹拖到你的工程,按类方法创建pickerView....并遵守代理方法.demo应该可以说明用法. xib和代码创建的textField都没有问题.....

实现三个代理方法

internal func cancel(areaToolbar: AreaToolbar, textField: UITextField, locate: Location, item: UIBarButtonItem) {
//还原原来的值......
}

internal func sure(areaToolbar: AreaToolbar, textField: UITextField, locate: Location, item: UIBarButtonItem) {
//设置新值
}

internal func statusChanged(areaPickerView: AreaPickerView, pickerView: UIPickerView, textField: UITextField, locate: Location) {
//立即显示新值
}

如果你使用过程有任何疑问,可以讨论下: QQ:380341629 如果可以给个星,让我高兴一下? ^_^

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].