mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
59 lines
1.9 KiB
C
59 lines
1.9 KiB
C
![]() |
//
|
||
|
// AddViewController.h
|
||
|
// NewsBlur
|
||
|
//
|
||
|
// Created by Samuel Clay on 10/04/2011.
|
||
|
// Copyright 2011 NewsBlur. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "NewsBlurAppDelegate.h"
|
||
|
#import "ASIHTTPRequest.h"
|
||
|
|
||
|
@class NewsBlurAppDelegate;
|
||
|
|
||
|
@interface AddViewController : UIViewController
|
||
|
<UIPickerViewDelegate, UIPickerViewDataSource, ASIHTTPRequestDelegate> {
|
||
|
NewsBlurAppDelegate *appDelegate;
|
||
|
|
||
|
UITextField *usernameInput;
|
||
|
UITextField *passwordInput;
|
||
|
UITextField *emailInput;
|
||
|
NSMutableData * jsonString;
|
||
|
|
||
|
UIActivityIndicatorView *activityIndicator;
|
||
|
UILabel *authenticatingLabel;
|
||
|
UILabel *errorLabel;
|
||
|
UISegmentedControl *loginControl;
|
||
|
|
||
|
UILabel *usernameLabel;
|
||
|
UILabel *usernameOrEmailLabel;
|
||
|
UILabel *passwordLabel;
|
||
|
UILabel *emailLabel;
|
||
|
UILabel *passwordOptionalLabel;
|
||
|
}
|
||
|
|
||
|
- (void)checkPassword;
|
||
|
- (void)registerAccount;
|
||
|
- (IBAction)selectLoginSignup;
|
||
|
- (void)animateLoop;
|
||
|
|
||
|
@property (nonatomic, retain) IBOutlet NewsBlurAppDelegate *appDelegate;
|
||
|
@property (nonatomic, retain) IBOutlet UITextField *usernameInput;
|
||
|
@property (nonatomic, retain) IBOutlet UITextField *passwordInput;
|
||
|
@property (nonatomic, retain) IBOutlet UITextField *emailInput;
|
||
|
|
||
|
@property (nonatomic, retain) NSMutableData * jsonString;
|
||
|
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *activityIndicator;
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *authenticatingLabel;
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *errorLabel;
|
||
|
@property (nonatomic, retain) IBOutlet UISegmentedControl *loginControl;
|
||
|
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *usernameLabel;
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *usernameOrEmailLabel;
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *passwordLabel;
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *emailLabel;
|
||
|
@property (nonatomic, retain) IBOutlet UILabel *passwordOptionalLabel;
|
||
|
|
||
|
@end
|