SINPhoneNumber Protocol Reference

Conforms to NSCopying
NSObject
Declared in SINPhoneNumber.h

Overview

An opaque protocol representing a parsed phone number.

Example usage:

  countryCode required method

Country calling code according to the International Telecommunication Union (ITU).

@property (nonatomic, strong, readonly) NSNumber *countryCode

Discussion

(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 *rawInput

Declared In

SINPhoneNumber.h