You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
742 B
36 lines
742 B
// |
|
// CountryModel.h |
|
// tongxin |
|
// |
|
// Created by WeiChaoZheng on 2018/6/25. |
|
// Copyright © 2018年 xTT. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
@interface CountryModel : NSObject |
|
/** |
|
国家代码 (手机号 头部 eg: +86) |
|
*/ |
|
@property (strong, nonatomic)NSString *country_code; |
|
/** |
|
国家名称 |
|
*/ |
|
@property (strong, nonatomic)NSString *country; |
|
/** |
|
首字母 |
|
*/ |
|
@property (strong, nonatomic)NSString *firstLetter; |
|
|
|
+ (void)getObjsWithSuccess:(void (^)(NSMutableArray *arr))success |
|
failure:(void (^)(NSError *error))failure; |
|
|
|
/** |
|
获取 String 的 拼音 首字母 |
|
|
|
@param country |
|
@return <#return value description#> |
|
*/ |
|
+ (NSString *)getFirstLetterFromString:(NSString*)country; |
|
|
|
@end
|
|
|