XWCountryCode
🇨🇳Country code, international area code, registration and login to select the country, the interface value is obtained by proxy delegate and block, free choice, 国家代码,国际区号,注册登录选择国家,界面传值采用代理delegate和block两种方式,自由选择
Install / Use
/learn @qxuewei/XWCountryCodeREADME
XWCountryCode
国家代码,国际区号,注册登录选择国家
演示效果:

三行代码集成国家区号选择功能
XWCountryCodeController *countryCodeVC = [[XWCountryCodeController alloc] init];
/// 使用代理回调
// countryCodeVC.deleagete = self;
/// 使用 Block 回调
__weak __typeof(self)weakSelf = self;
countryCodeVC.returnCountryCodeBlock = ^(NSString *countryName, NSString *code) {
__strong __typeof(weakSelf) strongSelf = weakSelf;
strongSelf->showCodeLB.text = [NSString stringWithFormat:@"国家: %@ 代码: %@",countryName,code];
};
[self.navigationController pushViewController:countryCodeVC animated:YES];
更新 - 2019.10.30
- UISearchController 替换 UISearchDisplayController 实现搜索
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
