forked from omz/AppSales-Mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Completely redesigned UI with animated stacked bar graphs - Support for multiple accounts - New Payments view - New world map view - Report details can now be filtered both by app and by country - Reviews can be filtered by rating and app - Import and export now use iTunes File Sharing instead of Bonjour - Support for viewing the original CSV files within the app - Support for renaming and hiding apps - Improved support for multiple apps with the same name (Mac/iOS) - Improved support for in-app purchases
- Loading branch information
Ole Zorn
committed
Aug 3, 2011
1 parent
d1ed0fe
commit 64a0977
Showing
864 changed files
with
59,930 additions
and
30,431 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
AppSalesMobile.xcodeproj/xcuserdata/ole.xcuserdatad/xcschemes/AppSalesMobile.xcscheme
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
AppSalesMobile.xcodeproj/xcuserdata/ole.xcuserdatad/xcschemes/xcschememanagement.plist
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-56.7 KB
...lesIcon.lineform/323A186F-C7FA-4A23-A55D-EC0573904EC5-9890-0000AFB9A8ACC62E.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// AboutViewController.h | ||
// AppSales | ||
// | ||
// Created by Ole Zorn on 02.08.11. | ||
// Copyright 2011 omz:software. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface AboutViewController : UIViewController <UIWebViewDelegate> { | ||
|
||
UIWebView *webView; | ||
} | ||
|
||
@property (nonatomic, retain) UIWebView *webView; | ||
|
||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// | ||
// AboutViewController.m | ||
// AppSales | ||
// | ||
// Created by Ole Zorn on 02.08.11. | ||
// Copyright 2011 omz:software. All rights reserved. | ||
// | ||
|
||
#import "AboutViewController.h" | ||
|
||
@implementation AboutViewController | ||
|
||
@synthesize webView; | ||
|
||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | ||
{ | ||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | ||
if (self) { | ||
self.title = NSLocalizedString(@"About", nil); | ||
} | ||
return self; | ||
} | ||
|
||
- (void)loadView | ||
{ | ||
self.webView = [[[UIWebView alloc] initWithFrame:CGRectZero] autorelease]; | ||
webView.scalesPageToFit = YES; | ||
webView.dataDetectorTypes = UIDataDetectorTypeNone; | ||
webView.delegate = self; | ||
self.view = webView; | ||
self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(done:)] autorelease]; | ||
} | ||
|
||
- (void)viewWillAppear:(BOOL)animated | ||
{ | ||
[self.webView loadRequest:[NSURLRequest requestWithURL:[[NSBundle mainBundle] URLForResource:@"About" withExtension:@"html"]]]; | ||
} | ||
|
||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation | ||
{ | ||
return (interfaceOrientation == UIInterfaceOrientationPortrait); | ||
} | ||
|
||
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType | ||
{ | ||
if (navigationType == UIWebViewNavigationTypeLinkClicked) { | ||
[[UIApplication sharedApplication] openURL:[request URL]]; | ||
return NO; | ||
} | ||
return YES; | ||
} | ||
|
||
- (void)done:(id)sender | ||
{ | ||
[self dismissModalViewControllerAnimated:YES]; | ||
} | ||
|
||
- (void)dealloc | ||
{ | ||
webView.delegate = nil; | ||
[webView release]; | ||
[super dealloc]; | ||
} | ||
|
||
|
||
@end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// Account.h | ||
// AppSales | ||
// | ||
// Created by Ole Zorn on 30.06.11. | ||
// Copyright (c) 2011 omz:software. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <CoreData/CoreData.h> | ||
|
||
|
||
@interface Account : NSManagedObject { | ||
|
||
BOOL isDownloadingReports; | ||
NSString *downloadStatus; | ||
float downloadProgress; | ||
} | ||
|
||
@property (nonatomic, assign) BOOL isDownloadingReports; | ||
@property (nonatomic, retain) NSString *password; // this property encapsulates the keychain access, | ||
// it is not actually stored in the Core Data model | ||
@property (nonatomic, retain) NSString *downloadStatus; | ||
@property (nonatomic, assign) float downloadProgress; | ||
|
||
// Core Data properties: | ||
@property (nonatomic, retain) NSString *username; | ||
@property (nonatomic, retain) NSString *title; | ||
@property (nonatomic, retain) NSNumber *sortIndex; | ||
@property (nonatomic, retain) NSSet *dailyReports; | ||
@property (nonatomic, retain) NSSet *weeklyReports; | ||
@property (nonatomic, retain) NSSet *products; | ||
@property (nonatomic, retain) NSSet *payments; | ||
@property (nonatomic, retain) NSNumber *reportsBadge; | ||
@property (nonatomic, retain) NSNumber *paymentsBadge; | ||
|
||
- (void)deletePassword; | ||
- (NSString *)displayName; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// | ||
// Account.m | ||
// AppSales | ||
// | ||
// Created by Ole Zorn on 30.06.11. | ||
// Copyright (c) 2011 omz:software. All rights reserved. | ||
// | ||
|
||
#import "Account.h" | ||
#import "SSKeychain.h" | ||
|
||
#define kAccountKeychainServiceIdentifier @"iTunesConnect" | ||
|
||
@implementation Account | ||
|
||
@dynamic username, title, sortIndex, dailyReports, weeklyReports, products, payments, reportsBadge, paymentsBadge; | ||
@synthesize isDownloadingReports, downloadStatus, downloadProgress; | ||
|
||
- (NSString *)password | ||
{ | ||
return [SSKeychain passwordForService:kAccountKeychainServiceIdentifier account:self.username]; | ||
} | ||
|
||
- (void)setPassword:(NSString *)newPassword | ||
{ | ||
[SSKeychain setPassword:newPassword forService:kAccountKeychainServiceIdentifier account:self.username]; | ||
} | ||
|
||
- (void)deletePassword | ||
{ | ||
[SSKeychain deletePasswordForService:kAccountKeychainServiceIdentifier account:self.username]; | ||
} | ||
|
||
- (NSString *)displayName | ||
{ | ||
if (self.title && ![self.title isEqualToString:@""]) { | ||
return self.title; | ||
} | ||
return self.username; | ||
} | ||
|
||
@end |
Oops, something went wrong.