Instance Method

initWithStringValue:

Returns a new phone number object initialized with the specified phone number string.

Declaration

- (instancetype)initWithStringValue:(NSString *)string;

Parameters

string

A string value with which to initializes the phone number object.

Return Value

A newly initialized phone number object.

Discussion

You should initialize this with a phone number string. This method returns nil when the value of string is nil.

See Also

Creating a Phone Number Object

+ phoneNumberWithStringValue:

Returns a new phone number object initialized with the specified phone number string.