Skip to content

Instantly share code, notes, and snippets.

@hugo53
Created June 29, 2015 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugo53/fc447afc885518bf5470 to your computer and use it in GitHub Desktop.
Save hugo53/fc447afc885518bf5470 to your computer and use it in GitHub Desktop.
2-letter countries code in the world.md
NSMutableArray *africa = [NSMutableArray arrayWithArray:@[@"DZ",
@"AO",
@"BJ",
@"BW",
@"BF",
@"BI",
@"CM",
@"CV",
@"CF",
@"KM",
@"CD",
@"DJ",
@"EG",
@"GQ",
@"ER",
@"ET",
@"GA",
@"GM",
@"GH",
@"GN",
@"GW",
@"CI",
@"KE",
@"LS",
@"LR",
@"LY",
@"MG",
@"MW",
@"ML",
@"MR",
@"MU",
@"MA",
@"MZ",
@"NA",
@"NE",
@"NG",
@"CG",
@"RE",
@"RW",
@"SH",
@"ST",
@"SN",
@"SC",
@"SL",
@"SO",
@"ZA",
@"SS",
@"SD",
@"SZ",
@"TZ",
@"TG",
@"TN",
@"UG",
@"EH",
@"ZM",
@"ZW"]];
NSMutableArray *asia = [NSMutableArray arrayWithArray:@[@"AF",
@"AM",
@"AZ",
@"BH",
@"BD",
@"BT",
@"BN",
@"KH",
@"CN",
@"GE",
@"HK",
@"IN",
@"ID",
@"IR",
@"IQ",
@"IL",
@"JP",
@"JO",
@"KZ",
@"KW",
@"KG",
@"LA",
@"LB",
@"MO",
@"MY",
@"MV",
@"MN",
@"MM",
@"NP",
@"KP",
@"OM",
@"PK",
@"PH",
@"QA",
@"SA",
@"SG",
@"KR",
@"LK",
@"SY",
@"TW",
@"TJ",
@"TH",
@"TR",
@"TM",
@"AE",
@"UZ",
@"VN",
@"YE"]];
NSMutableArray *oceania = [NSMutableArray arrayWithArray:@[@"AS",
@"AU",
@"CK",
@"TL",
@"FJ",
@"PF",
@"GU",
@"KI",
@"MH",
@"FM",
@"NR",
@"NC",
@"NZ",
@"NU",
@"NF",
@"MP",
@"PW",
@"PG",
@"PN",
@"WS",
@"SB",
@"TK",
@"TV",
@"VU",
]];
NSMutableArray *europe = [NSMutableArray arrayWithArray:@[@"AL",
@"AD",
@"AT",
@"BY",
@"BE",
@"BA",
@"BG",
@"HR",
@"CY",
@"CZ",
@"DK",
@"EE",
@"FO",
@"FI",
@"FR",
@"DE",
@"GI",
@"GR",
@"HU",
@"IS",
@"IE",
@"IM",
@"IT",
@"XK",
@"LV",
@"LI",
@"LT",
@"LU",
@"MK",
@"MT",
@"MD",
@"MC",
@"ME",
@"NL",
@"NO",
@"PL",
@"PT",
@"RO",
@"RU",
@"SM",
@"RS",
@"SK",
@"SI",
@"ES",
@"SE",
@"CH",
@"UA",
@"GB",
@"VA"]];
NSMutableArray *northAmerica = [NSMutableArray arrayWithArray:@[@"US",
@"CA",
@"AI",
@"AW",
@"BS",
@"BB",
@"BZ",
@"BM",
@"KY",
@"CR",
@"CU",
@"CW",
@"DM",
@"DO",
@"SV",
@"GT",
@"HT",
@"HN",
@"JM",
@"MX",
@"MS",
@"NI",
@"PA",
@"PR",
@"BL",
@"KN",
@"LC",
@"MF",
@"PM",
@"VC",
@"TT"
]];
NSMutableArray *southAmerica = [NSMutableArray arrayWithArray:@[@"AR",
@"BO",
@"BR",
@"CL",
@"CO",
@"EC",
@"PY",
@"PE",
@"UY",
@"VE",
@"SR",
@"GY",
@"FK"]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment