mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
702 B
C
22 lines
702 B
C
10 years ago
|
#import <Foundation/Foundation.h>
|
||
|
#import "NBPhoneNumberUtil.h"
|
||
|
#import "PhoneNumber.h"
|
||
|
|
||
|
@interface PhoneNumberUtil : NSObject
|
||
|
|
||
|
@property (nonatomic, retain) NBPhoneNumberUtil *nbPhoneNumberUtil;
|
||
|
|
||
|
+ (NSString *)callingCodeFromCountryCode:(NSString *)code;
|
||
|
+ (NSString *)countryNameFromCountryCode:(NSString *)code;
|
||
|
+ (NSArray *)countryCodesForSearchTerm:(NSString *)searchTerm;
|
||
|
+ (NSArray *)validCountryCallingPrefixes:(NSString *)string;
|
||
|
|
||
|
+ (NSUInteger)translateCursorPosition:(NSUInteger)offset
|
||
|
from:(NSString *)source
|
||
|
to:(NSString *)target
|
||
|
stickingRightward:(bool)preferHigh;
|
||
|
|
||
|
+ (instancetype)sharedUtil;
|
||
|
|
||
|
@end
|