2012-07-22 14:23:50 -07:00
|
|
|
//
|
|
|
|
// FTUXaddSitesViewController.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Roy Yang on 7/22/12.
|
|
|
|
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "NewsBlurAppDelegate.h"
|
|
|
|
|
|
|
|
@interface FirstTimeUserAddSitesViewController : UIViewController <ASIHTTPRequestDelegate> {
|
|
|
|
NewsBlurAppDelegate *appDelegate;
|
|
|
|
}
|
|
|
|
|
|
|
|
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
|
|
|
|
@property (nonatomic) NSMutableArray *categories;
|
|
|
|
@property (nonatomic) IBOutlet UIButton *googleReaderButton;
|
2012-08-12 20:09:45 -07:00
|
|
|
@property (nonatomic) IBOutlet UIView *googleReaderButtonWrapper;
|
2012-07-22 14:23:50 -07:00
|
|
|
@property (nonatomic) IBOutlet UIBarButtonItem *nextButton;
|
2012-08-11 15:16:35 -07:00
|
|
|
@property (nonatomic) IBOutlet UIActivityIndicatorView *activityIndicator;
|
|
|
|
@property (nonatomic) IBOutlet UILabel *instructionLabel;
|
2012-07-22 14:23:50 -07:00
|
|
|
|
|
|
|
- (IBAction)tapNextButton;
|
|
|
|
- (IBAction)tapGoogleReaderButton;
|
|
|
|
- (IBAction)tapCategoryButton:(id)sender;
|
|
|
|
|
|
|
|
- (void)addCategories;
|
2012-08-11 15:16:35 -07:00
|
|
|
- (void)importFromGoogleReader;
|
2012-08-12 21:46:47 -07:00
|
|
|
- (void)importFromGoogleReaderFailed:(NSString *)error;
|
2012-08-11 15:16:35 -07:00
|
|
|
- (void)updateSites;
|
2012-07-22 14:23:50 -07:00
|
|
|
@end
|