SINPhoneNumber Protocol Reference
| Conforms to | NSCopying NSObject |
|---|---|
| Declared in | SINPhoneNumber.h |
Overview
An opaque protocol representing a parsed phone number.
Example usage:
- It can be passed as an argument to the SINPhoneNumberUtil formatting functions, e.g. [SINPhoneNumberUtil formatNumber:format:]
countryCode
required method
Country calling code according to the International Telecommunication Union (ITU).
@property (nonatomic, strong, readonly) NSNumber *countryCodeDiscussion
(Sometimes also referred to as country dial in code.)
Declared In
SINPhoneNumber.h
rawInput
required method
If a phone number was parsed from user input, the raw input may be preserved and accessiable via this property.
@property (nonatomic, strong, readonly, nullable) NSString *rawInputDeclared In
SINPhoneNumber.h