From 850ff1a1efa9aa140e7fa8d0e22cd89e29e6549d Mon Sep 17 00:00:00 2001 From: Roy Marmelstein Date: Fri, 6 Nov 2015 07:39:18 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ebf688b23..2a5708cdf 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ To parse and validate a string, initialize a PhoneNumber object and supply the s ```swift do { let phoneNumber = try PhoneNumber(rawNumber:"+33 6 89 017383") - let phoneNumberForCustomDefaultRegion = try PhoneNumber(rawNumber: "+44 20 7031 3000", region: "GB") + let phoneNumberCustomDefaultRegion = try PhoneNumber(rawNumber: "+44 20 7031 3000", region: "GB") } catch { print("Generic parser error") @@ -48,7 +48,7 @@ If you need to parse and validate a large amount of numbers at once, there is a ```swift let rawNumberArray = ["0291 12345678", "+49 291 12345678", "04134 1234", "09123 12345"] let phoneNumbers = PhoneNumberKit().parseMultiple(rawNumberArray) -let phoneNumbersForCustomDefaultRegion = PhoneNumberKit().parseMultiple(rawNumberArray, region: "DE") +let phoneNumbersCustomDefaultRegion = PhoneNumberKit().parseMultiple(rawNumberArray, region: "DE") ``` You can also query countries for a dialing code or the dailing code for a given country