All Projects → Dwarven → PhoneCountryCodePicker

Dwarven / PhoneCountryCodePicker

Licence: MIT license
An iOS tableview picker for PhoneCountryCode (English & Chinese supported)

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to PhoneCountryCodePicker

PhoneNumberKit
Android Kotlin library to parse and format international phone numbers. Country code picker.
Stars: ✭ 124 (+300%)
Mutual labels:  phone, country-codes, picker
Flagphonenumber
A formatted phone number UITextField with country flag picker.
Stars: ✭ 371 (+1096.77%)
Mutual labels:  country, picker, flags
Nkvphonepicker
An UITextField subclass to simplify country code's picking. Swift 5.0
Stars: ✭ 131 (+322.58%)
Mutual labels:  phone, country, picker
Qpdialcodepickerview
International Dial Code Picker View for Country or Area 国家或地区国际区号选择器
Stars: ✭ 15 (-51.61%)
Mutual labels:  code, country, picker
Countrypickerview
A simple, customizable view for efficiently collecting country information in iOS apps.
Stars: ✭ 397 (+1180.65%)
Mutual labels:  phone, country, picker
Countrycode
🎯 Swift country and phone code Picker
Stars: ✭ 175 (+464.52%)
Mutual labels:  picker, flags
countriesNowAPI
CountriesNow is an Open source API for retrieving geo-information for countries, including their states, cities, population, etc. 🌎
Stars: ✭ 78 (+151.61%)
Mutual labels:  country-codes, flags
flagpack
A lightweight flag icon toolkit for the web.
Stars: ✭ 51 (+64.52%)
Mutual labels:  country, flags
international-telephone-input
Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers.
Stars: ✭ 26 (-16.13%)
Mutual labels:  country-flags, country-codes
Flag Icon Css
🎏 A curated collection of all country flags in SVG — plus the CSS for easier integration
Stars: ✭ 7,982 (+25648.39%)
Mutual labels:  country-flags, country
Nager.Country
Worldwide Country Informations (ISO-3166-1 Alpha2, ISO-3166-1 Alpha3, ISO 639-1)
Stars: ✭ 68 (+119.35%)
Mutual labels:  country, country-codes
SwiftyCodeView
Fully customizable UI Component for verification codes written in swift with RxSwift support!
Stars: ✭ 86 (+177.42%)
Mutual labels:  code, phone
Circle Flags
A collection of 300+ minimal circular SVG country flags
Stars: ✭ 139 (+348.39%)
Mutual labels:  country, flags
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 (-16.13%)
Mutual labels:  country-flags, country-codes
csc picker
A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
Stars: ✭ 25 (-19.35%)
Mutual labels:  country, picker
codetime-web
Statistical analysis and presentation of programming time.
Stars: ✭ 22 (-29.03%)
Mutual labels:  code
GTAV-Self-driving-car
Self driving car in GTAV with Deep Learning
Stars: ✭ 15 (-51.61%)
Mutual labels:  code
linec
🍬一个高颜值命令行统计代码行数的计数器。(counts lines of code)
Stars: ✭ 121 (+290.32%)
Mutual labels:  code
Unity3D-Cars
A project built for a Renaissance Coders tutorial to introduce vehicle physics.
Stars: ✭ 60 (+93.55%)
Mutual labels:  code
XcodeCommentWrapper
Xcode extension for wrapping comments
Stars: ✭ 29 (-6.45%)
Mutual labels:  code

PhoneCountryCodePicker

Build Status CocoaPods Compatible Platform Twitter License

An iOS tableview picker for PhoneCountryCode

Preview

Podfile

To integrate PhoneCountryCodePicker into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'PhoneCountryCodePicker'

How to use

#import "PCCPViewController.h"

//first
NSDictionary * countryDic = [PCCPViewController infoFromSimCardAndiOSSettings];
//or
NSDictionary * countryDic = [PCCPViewController infoForPhoneCode:86]; //86 just for China

UIImage * flag = [PCCPViewController imageForCountryCode:countryDic[@"country_code"]];
NSLog(@"%@", countryDic);

//second
PCCPViewController * vc = [[PCCPViewController alloc] initWithCompletion:^(id countryDic) {
    NSLog(@"%@", countryDic);
    UIImage * flag = [PCCPViewController imageForCountryCode:countryDic[@"country_code"]];
}];
[vc setIsUsingChinese:YES or NO];
UINavigationController *naviVC = [[UINavigationController alloc] initWithRootViewController:vc];
[self presentViewController:naviVC animated:YES completion:NULL];
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].