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.

37 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