AKFPhoneNumber
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

This class represents a phone number.

Conforms to:NSCopying, NSSecureCoding
Inherits from:NSObject
Declared in:AKFPhoneNumber.h
속성
countryCode

The country code for the phone number.

@property (nonatomic, copy, readonly) NSString *countryCode;
정의된 값: AKFPhoneNumber.h
phoneNumber

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

@property (nonatomic, copy, readonly) NSString *phoneNumber;
정의된 값: AKFPhoneNumber.h
인스턴스 메서드
initWithCountryCode:phoneNumber:

This is the designated initializer.

매개변수설명
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;
정의된 값: AKFPhoneNumber.h
isEqualToPhoneNumber:

Compares the receiver to another phone number

매개변수설명
phoneNumber

The phone number to compare to

- (BOOL) isEqualToPhoneNumber:(AKFPhoneNumber *)phoneNumber;
정의된 값: AKFPhoneNumber.h
stringRepresentation

Converts the receiver to an NSString.

- (NSString *) stringRepresentation;
정의된 값: AKFPhoneNumber.h