Objective-CclassContacts
CNPhoneNumber
@interface CNPhoneNumber : NSObject <CNObjectValidation, NSCopying, NSSecureCoding>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolCNObjectValidation
- protocolNSCopying
- protocolNSSecureCoding
Members 61
- method
+ (id /* block */)StringValue; - method
+ (id)_countryCodeForNorthAmericanDialingPlanAreaCodesExcludingUS; - method
+ (id)_countryCodesForNorthAmericanDialingPlan; - method
+ (BOOL)_isCountryCodeForNorthAmericanDialingPlan:(id)arg0; - method
+ (struct __CFPhoneNumber *)createCFPhoneNumberForStringValue:(id)arg0 countryCode:(id)arg1; - method
+ (id)defaultCountryCode; - method
+ (id)dialingCodeForISOCountryCode:(id)arg0; - method
+ (id)new; - method
+ (id)phoneNumberWithCopiedStringValue:(id)arg0; - method
+ (id)phoneNumberWithDigits:(id)arg0 countryCode:(id)arg1; - method
+ (id)phoneNumberWithStringValue:(id)arg0; - method
+ (BOOL)supportsSecureCoding; - method
+ (id)unsupportedCountryCodes; - property
@property(class, readonly) id /* block */ StringValue; - property
@property(class, readonly) BOOL supportsSecureCoding; - ivar
NSString *_initialCountryCode;+0x8 - ivar
struct __CFPhoneNumber *_phoneNumberRef;+0x20 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _stateLock;+0x18 - ivar
NSString *_stringValue;+0x10 - method
- (void).cxx_destruct; - method
- (id)_countryCodeFromPhoneNumberRef; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)countryCode; - method
- (void)dealloc; - method
- (id)description; - method
- (id)digits; - method
- (id)digitsRemovingDialingCode; - method
- (void)encodeWithCoder:(id)arg0; - method
- (id)formattedInternationalStringValue; - method
- (id)formattedStringValue; - method
- (id)formattedStringValueRemovingDialingCode; - method
- (id)fullyQualifiedDigits; - method
- (unsigned long long)hash; - method
- (id)init; - method
- (id)initWithCoder:(id)arg0; - method
- (id)initWithStringValue:(id)arg0; - method
- (id)initWithStringValue:(id)arg0 countryCode:(id)arg1; - method
- (id)initialCountryCode; - method
- (BOOL)isEqual:(id)arg0; - method
- (BOOL)isFullyQualified; - method
- (BOOL)isLikePhoneNumber:(id)arg0; - method
- (BOOL)isLikePhoneNumberForSamePerson:(id)arg0; - method
- (BOOL)isValid:(id *)arg0; - method
- (id)lastFourDigits; - method
- (struct __CFPhoneNumber *)nts_lazyPhoneNumberRef; - method
- (struct __CFPhoneNumber *)phoneNumberRef; - method
- (id)primitiveInitWithStringValue:(id)arg0 countryCode:(id)arg1; - method
- (id)stringValue; - method
- (id)stringValueWithCFPhoneNumberOptions:(unsigned long long)arg0; - method
- (id)unformattedInternationalStringValue; - property
@property(readonly, copy, nonatomic) NSString *countryCode; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly, copy, nonatomic) NSString *digits; - property
@property(readonly, copy, nonatomic) NSString *formattedInternationalStringValue; - property
@property(readonly, copy, nonatomic) NSString *formattedStringValue; - property
@property(readonly) unsigned long long hash; - property
@property(readonly, copy, nonatomic) NSString *initialCountryCode; - property
@property(readonly, copy, nonatomic) NSString *stringValue; - property
@property(readonly) Class superclass; - property
@property(readonly, copy, nonatomic) NSString *unformattedInternationalStringValue;
Header
@interface CNPhoneNumber : NSObject <CNObjectValidation, NSCopying, NSSecureCoding> { NSString *_initialCountryCode; NSString *_stringValue; struct os_unfair_lock_s _stateLock; struct __CFPhoneNumber *_phoneNumberRef; } @property (class, readonly) id /* block */ StringValue; @property (class, readonly) BOOL supportsSecureCoding; @property (nonatomic, copy, readonly) NSString *initialCountryCode; @property (nonatomic, copy, readonly) NSString *countryCode; @property (nonatomic, copy, readonly) NSString *digits; @property (nonatomic, copy, readonly) NSString *formattedStringValue; @property (nonatomic, copy, readonly) NSString *formattedInternationalStringValue; @property (nonatomic, copy, readonly) NSString *unformattedInternationalStringValue; @property (nonatomic, copy, readonly) NSString *stringValue; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (BOOL)supportsSecureCoding; + (id)phoneNumberWithStringValue:(id)stringValue; + (struct __CFPhoneNumber *)createCFPhoneNumberForStringValue:(id)stringValue countryCode:(id)countryCode; + (id)new; + (BOOL)_isCountryCodeForNorthAmericanDialingPlan:(id)northAmericanDialingPlan; + (id)defaultCountryCode; + (id)phoneNumberWithDigits:(id)digits countryCode:(id)countryCode; + (id)dialingCodeForISOCountryCode:(id)iSOCountryCode; + (id /* block */)StringValue; + (id)_countryCodeForNorthAmericanDialingPlanAreaCodesExcludingUS; + (id)_countryCodesForNorthAmericanDialingPlan; + (id)unsupportedCountryCodes; + (id)phoneNumberWithCopiedStringValue:(id)copiedStringValue; - (BOOL)isValid:(id *)isValid; - (id)description; - (id)stringValue; - (id)copyWithZone:(struct _NSZone *)zone; - (BOOL)isEqual:(id)isEqual; - (void).cxx_destruct; - (void)dealloc; - (void)encodeWithCoder:(id)coder; - (id)countryCode; - (id)init; - (unsigned long long)hash; - (id)initWithCoder:(id)coder; - (id)initWithStringValue:(id)stringValue; - (id)lastFourDigits; - (id)digits; - (id)formattedStringValue; - (BOOL)isLikePhoneNumber:(id)phoneNumber; - (id)unformattedInternationalStringValue; - (BOOL)isLikePhoneNumberForSamePerson:(id)samePerson; - (id)_countryCodeFromPhoneNumberRef; - (id)digitsRemovingDialingCode; - (id)formattedInternationalStringValue; - (id)formattedStringValueRemovingDialingCode; - (id)fullyQualifiedDigits; - (id)initWithStringValue:(id)stringValue countryCode:(id)countryCode; - (id)initialCountryCode; - (BOOL)isFullyQualified; - (struct __CFPhoneNumber *)nts_lazyPhoneNumberRef; - (struct __CFPhoneNumber *)phoneNumberRef; - (id)primitiveInitWithStringValue:(id)stringValue countryCode:(id)countryCode; - (id)stringValueWithCFPhoneNumberOptions:(unsigned long long)cFPhoneNumberOptions; @end