Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed latest 8 regions #16

Merged
merged 1 commit into from

2 participants

@ddaddy

No description provided.

@Cocoanetics Cocoanetics merged commit cffd1b2 into Cocoanetics:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 23, 2013
  1. @ddaddy

    Fixed latest 8 regions

    ddaddy authored
This page is out of date. Refresh to see the latest.
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;
}
Something went wrong with that request. Please try again.