AKFPhoneNumber
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

This class represents a phone number.

Conforms to:NSCopying, NSSecureCoding
Inherits from:NSObject
Declared in:AKFPhoneNumber.h
Thuộc tính
countryCode

The country code for the phone number.

@property (nonatomic, copy, readonly) NSString *countryCode;
Đã tuyên bố trong: AKFPhoneNumber.h
phoneNumber

The remaining portion of the phone number after the country code.

@property (nonatomic, copy, readonly) NSString *phoneNumber;
Đã tuyên bố trong: AKFPhoneNumber.h
Phương thức thực thể
initWithCountryCode:phoneNumber:

This is the designated initializer.

Thông sốMô tả
countryCode

The country code for the phone number

phoneNumber

The remaining portion of the phone number

- (instancetype)
initWithCountryCode: (NSString *)countryCode
phoneNumber: (NSString *)phoneNumber
NS_DESIGNATED_INITIALIZER;
Đã tuyên bố trong: AKFPhoneNumber.h
isEqualToPhoneNumber:

Compares the receiver to another phone number

Thông sốMô tả
phoneNumber

The phone number to compare to

- (BOOL) isEqualToPhoneNumber:(AKFPhoneNumber *)phoneNumber;
Đã tuyên bố trong: AKFPhoneNumber.h
stringRepresentation

Converts the receiver to an NSString.

- (NSString *) stringRepresentation;
Đã tuyên bố trong: AKFPhoneNumber.h