View difference between Paste ID: adNADRzU and ZUxyqAdh
SHOW: | | - or go back to the newest paste.
1
// Country code
2
NSDictionary *codes = @{
3
@"Canada"                                       : @"+1",
4
@"China"                                        : @"+86",
5
@"France"                                       : @"+33",
6
@"Germany"                                      : @"+49",
7
@"India"                                        : @"+91",
8
@"Japan"                                        : @"+81",
9
@"Pakistan"                                     : @"+92",
10
@"United Kingdom"                               : @"+44",
11
@"United States"                                : @"+1",
12
@"Abkhazia"                                     : @"+7 840",
13
@"Abkhazia"                                     : @"+7 940",
14
@"Afghanistan"                                  : @"+93",
15
@"Albania"                                      : @"+355",
16
@"Algeria"                                      : @"+213",
17
@"American Samoa"                               : @"+1 684",
18
@"Andorra"                                      : @"+376",
19
@"Angola"                                       : @"+244",
20
@"Anguilla"                                     : @"+1 264",
21
@"Antigua and Barbuda"                          : @"+1 268",
22
@"Argentina"                                    : @"+54",
23
@"Armenia"                                      : @"+374",
24
@"Aruba"                                        : @"+297",
25
@"Ascension"                                    : @"+247",
26
@"Australia"                                    : @"+61",
27
@"Australian External Territories"              : @"+672",
28
@"Austria"                                      : @"+43",
29
@"Azerbaijan"                                   : @"+994",
30
@"Bahamas"                                      : @"+1 242",
31
@"Bahrain"                                      : @"+973",
32
@"Bangladesh"                                   : @"+880",
33
@"Barbados"                                     : @"+1 246",
34
@"Barbuda"                                      : @"+1 268",
35
@"Belarus"                                      : @"+375",
36
@"Belgium"                                      : @"+32",
37
@"Belize"                                       : @"+501",
38
@"Benin"                                        : @"+229",
39
@"Bermuda"                                      : @"+1 441",
40
@"Bhutan"                                       : @"+975",
41
@"Bolivia"                                      : @"+591",
42
@"Bosnia and Herzegovina"                       : @"+387",
43
@"Botswana"                                     : @"+267",
44
@"Brazil"                                       : @"+55",
45
@"British Indian Ocean Territory"               : @"+246",
46
@"British Virgin Islands"                       : @"+1 284",
47
@"Brunei"                                       : @"+673",
48
@"Bulgaria"                                     : @"+359",
49
@"Burkina Faso"                                 : @"+226",
50
@"Burundi"                                      : @"+257",
51
@"Cambodia"                                     : @"+855",
52
@"Cameroon"                                     : @"+237",
53
@"Canada"                                       : @"+1",
54
@"Cape Verde"                                   : @"+238",
55
@"Cayman Islands"                               : @"+ 345",
56
@"Central African Republic"                     : @"+236",
57
@"Chad"                                         : @"+235",
58
@"Chile"                                        : @"+56",
59
@"China"                                        : @"+86",
60
@"Christmas Island"                             : @"+61",
61
@"Cocos-Keeling Islands"                        : @"+61",
62
@"Colombia"                                     : @"+57",
63
@"Comoros"                                      : @"+269",
64
@"Congo"                                        : @"+242",
65
@"Congo, Dem. Rep. of (Zaire)"                  : @"+243",
66
@"Cook Islands"                                 : @"+682",
67
@"Costa Rica"                                   : @"+506",
68
@"Ivory Coast"                                  : @"+225",
69
@"Croatia"                                      : @"+385",
70
@"Cuba"                                         : @"+53",
71
@"Curacao"                                      : @"+599",
72
@"Cyprus"                                       : @"+537",
73
@"Czech Republic"                               : @"+420",
74
@"Denmark"                                      : @"+45",
75
@"Diego Garcia"                                 : @"+246",
76
@"Djibouti"                                     : @"+253",
77
@"Dominica"                                     : @"+1 767",
78
@"Dominican Republic"                           : @"+1 809",
79
@"Dominican Republic"                           : @"+1 829",
80
@"Dominican Republic"                           : @"+1 849",
81
@"East Timor"                                   : @"+670",
82
@"Easter Island"                                : @"+56",
83
@"Ecuador"                                      : @"+593",
84
@"Egypt"                                        : @"+20",
85
@"El Salvador"                                  : @"+503",
86
@"Equatorial Guinea"                            : @"+240",
87
@"Eritrea"                                      : @"+291",
88
@"Estonia"                                      : @"+372",
89
@"Ethiopia"                                     : @"+251",
90
@"Falkland Islands"                             : @"+500",
91
@"Faroe Islands"                                : @"+298",
92
@"Fiji"                                         : @"+679",
93
@"Finland"                                      : @"+358",
94
@"France"                                       : @"+33",
95
@"French Antilles"                              : @"+596",
96
@"French Guiana"                                : @"+594",
97
@"French Polynesia"                             : @"+689",
98
@"Gabon"                                        : @"+241",
99
@"Gambia"                                       : @"+220",
100
@"Georgia"                                      : @"+995",
101
@"Germany"                                      : @"+49",
102
@"Ghana"                                        : @"+233",
103
@"Gibraltar"                                    : @"+350",
104
@"Greece"                                       : @"+30",
105
@"Greenland"                                    : @"+299",
106
@"Grenada"                                      : @"+1 473",
107
@"Guadeloupe"                                   : @"+590",
108
@"Guam"                                         : @"+1 671",
109
@"Guatemala"                                    : @"+502",
110
@"Guinea"                                       : @"+224",
111
@"Guinea-Bissau"                                : @"+245",
112
@"Guyana"                                       : @"+595",
113
@"Haiti"                                        : @"+509",
114
@"Honduras"                                     : @"+504",
115
@"Hong Kong SAR China"                          : @"+852",
116
@"Hungary"                                      : @"+36",
117
@"Iceland"                                      : @"+354",
118
@"India"                                        : @"+91",
119
@"Indonesia"                                    : @"+62",
120
@"Iran"                                         : @"+98",
121
@"Iraq"                                         : @"+964",
122
@"Ireland"                                      : @"+353",
123
@"Israel"                                       : @"+972",
124
@"Italy"                                        : @"+39",
125
@"Jamaica"                                      : @"+1 876",
126
@"Japan"                                        : @"+81",
127
@"Jordan"                                       : @"+962",
128
@"Kazakhstan"                                   : @"+7 7",
129
@"Kenya"                                        : @"+254",
130
@"Kiribati"                                     : @"+686",
131
@"North Korea"                                  : @"+850",
132
@"South Korea"                                  : @"+82",
133
@"Kuwait"                                       : @"+965",
134
@"Kyrgyzstan"                                   : @"+996",
135
@"Laos"                                         : @"+856",
136
@"Latvia"                                       : @"+371",
137
@"Lebanon"                                      : @"+961",
138
@"Lesotho"                                      : @"+266",
139
@"Liberia"                                      : @"+231",
140
@"Libya"                                        : @"+218",
141
@"Liechtenstein"                                : @"+423",
142
@"Lithuania"                                    : @"+370",
143
@"Luxembourg"                                   : @"+352",
144
@"Macau SAR China"                              : @"+853",
145
@"Macedonia"                                    : @"+389",
146
@"Madagascar"                                   : @"+261",
147
@"Malawi"                                       : @"+265",
148
@"Malaysia"                                     : @"+60",
149
@"Maldives"                                     : @"+960",
150
@"Mali"                                         : @"+223",
151
@"Malta"                                        : @"+356",
152
@"Marshall Islands"                             : @"+692",
153
@"Martinique"                                   : @"+596",
154
@"Mauritania"                                   : @"+222",
155
@"Mauritius"                                    : @"+230",
156
@"Mayotte"                                      : @"+262",
157
@"Mexico"                                       : @"+52",
158
@"Micronesia"                                   : @"+691",
159
@"Midway Island"                                : @"+1 808",
160
@"Micronesia"                                   : @"+691",
161
@"Moldova"                                      : @"+373",
162
@"Monaco"                                       : @"+377",
163
@"Mongolia"                                     : @"+976",
164
@"Montenegro"                                   : @"+382",
165
@"Montserrat"                                   : @"+1664",
166
@"Morocco"                                      : @"+212",
167
@"Myanmar"                                      : @"+95",
168
@"Namibia"                                      : @"+264",
169
@"Nauru"                                        : @"+674",
170
@"Nepal"                                        : @"+977",
171
@"Netherlands"                                  : @"+31",
172
@"Netherlands Antilles"                         : @"+599",
173
@"Nevis"                                        : @"+1 869",
174
@"New Caledonia"                                : @"+687",
175
@"New Zealand"                                  : @"+64",
176
@"Nicaragua"                                    : @"+505",
177
@"Niger"                                        : @"+227",
178
@"Nigeria"                                      : @"+234",
179
@"Niue"                                         : @"+683",
180
@"Norfolk Island"                               : @"+672",
181
@"Northern Mariana Islands"                     : @"+1 670",
182
@"Norway"                                       : @"+47",
183
@"Oman"                                         : @"+968",
184
@"Pakistan"                                     : @"+92",
185
@"Palau"                                        : @"+680",
186
@"Palestinian Territory"                        : @"+970",
187
@"Panama"                                       : @"+507",
188
@"Papua New Guinea"                             : @"+675",
189
@"Paraguay"                                     : @"+595",
190
@"Peru"                                         : @"+51",
191
@"Philippines"                                  : @"+63",
192
@"Poland"                                       : @"+48",
193
@"Portugal"                                     : @"+351",
194
@"Puerto Rico"                                  : @"+1 787",
195
@"Puerto Rico"                                  : @"+1 939",
196
@"Qatar"                                        : @"+974",
197
@"Reunion"                                      : @"+262",
198
@"Romania"                                      : @"+40",
199
@"Russia"                                       : @"+7",
200
@"Rwanda"                                       : @"+250",
201
@"Samoa"                                        : @"+685",
202
@"San Marino"                                   : @"+378",
203
@"Saudi Arabia"                                 : @"+966",
204
@"Senegal"                                      : @"+221",
205
@"Serbia"                                       : @"+381",
206
@"Seychelles"                                   : @"+248",
207
@"Sierra Leone"                                 : @"+232",
208
@"Singapore"                                    : @"+65",
209
@"Slovakia"                                     : @"+421",
210
@"Slovenia"                                     : @"+386",
211
@"Solomon Islands"                              : @"+677",
212
@"South Africa"                                 : @"+27",
213
@"South Georgia and the South Sandwich Islands" : @"+500",
214
@"Spain"                                        : @"+34",
215
@"Sri Lanka"                                    : @"+94",
216
@"Sudan"                                        : @"+249",
217
@"Suriname"                                     : @"+597",
218
@"Swaziland"                                    : @"+268",
219
@"Sweden"                                       : @"+46",
220
@"Switzerland"                                  : @"+41",
221
@"Syria"                                        : @"+963",
222
@"Taiwan"                                       : @"+886",
223
@"Tajikistan"                                   : @"+992",
224
@"Tanzania"                                     : @"+255",
225
@"Thailand"                                     : @"+66",
226
@"Timor Leste"                                  : @"+670",
227
@"Togo"                                         : @"+228",
228
@"Tokelau"                                      : @"+690",
229
@"Tonga"                                        : @"+676",
230
@"Trinidad and Tobago"                          : @"+1 868",
231
@"Tunisia"                                      : @"+216",
232
@"Turkey"                                       : @"+90",
233
@"Turkmenistan"                                 : @"+993",
234
@"Turks and Caicos Islands"                     : @"+1 649",
235
@"Tuvalu"                                       : @"+688",
236
@"Uganda"                                       : @"+256",
237
@"Ukraine"                                      : @"+380",
238
@"United Arab Emirates"                         : @"+971",
239
@"United Kingdom"                               : @"+44",
240
@"United States"                                : @"+1",
241
@"Uruguay"                                      : @"+598",
242
@"U.S. Virgin Islands"                          : @"+1 340",
243
@"Uzbekistan"                                   : @"+998",
244
@"Vanuatu"                                      : @"+678",
245
@"Venezuela"                                    : @"+58",
246
@"Vietnam"                                      : @"+84",
247
@"Wake Island"                                  : @"+1 808",
248
@"Wallis and Futuna"                            : @"+681",
249
@"Yemen"                                        : @"+967",
250
@"Zambia"                                       : @"+260",
251-
@"Zimbabwe"                                     : @"+263",
251+
252
@"Zimbabwe"                                     : @"+263"
253
};