Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #16 from ddaddy/master

Fixed latest 8 regions
  • Loading branch information...
commit cffd1b2f2aaa9195b5ce436715f8d8b4efe7d312 2 parents fade713 + 9a8a499
@Cocoanetics authored
Showing with 33 additions and 1 deletion.
  1. +33 −1 Classes/ItunesConnectDownloaderOperation.m
View
34 Classes/ItunesConnectDownloaderOperation.m
@@ -166,8 +166,40 @@ - (ReportRegion)regionFromString:(NSString *)string
if ([string isEqualToString:@"Taiwan"])
{
return ReportRegionTaiwan;
+ }
+ if ([string isEqualToString:@"Russia"])
+ {
+ return ReportRegionRussia;
+ }
+ if ([string isEqualToString:@"Turkey"])
+ {
+ return ReportRegionTurkey;
+ }
+ if ([string isEqualToString:@"India"])
+ {
+ return ReportRegionIndia;
+ }
+ if ([string isEqualToString:@"Indonesia"])
+ {
+ return ReportRegionIndonesia;
+ }
+ if ([string isEqualToString:@"Israel"])
+ {
+ return ReportRegionIsrael;
+ }
+ if ([string isEqualToString:@"Saudi Arabia"])
+ {
+ return ReportRegionSaudiArabia;
+ }
+ if ([string isEqualToString:@"South Africa"])
+ {
+ return ReportRegionSouthAfrica;
+ }
+ if ([string isEqualToString:@"United Arab Emirates"])
+ {
+ return ReportRegionUnitedArabEmirates;
}
-
+
return ReportRegionUnknown;
}
Please sign in to comment.
Something went wrong with that request. Please try again.