factor out BITHockeyAppClient to provide network services

* factor out HockeyAppClient
* configure Authenticator with HockeyAppClient
* move appendPostValue to HockeyAppClient (& add the missing boundary parameter)
* move tests over to new file
This commit is contained in:
Stephan Diederich
2013-09-06 17:11:55 +02:00
parent 6a0cfdd4dc
commit 96304ac639
14 changed files with 1881 additions and 420 deletions

View File

@@ -9,6 +9,7 @@
#import <UIKit/UIKit.h>
@protocol BITAuthenticationViewControllerDelegate;
@class BITAuthenticator;
@class BITHockeyAppClient;
@interface BITAuthenticationViewController : UITableViewController
@@ -16,6 +17,11 @@
requirePassword:(BOOL) requiresPassword
delegate:(id<BITAuthenticationViewControllerDelegate>) delegate;
/**
* must be set
*/
@property (nonatomic, strong) BITHockeyAppClient *hockeyAppClient;
/**
* The application's id to identifiy it in the backend
*/