2012-06-13 18:07:24 -07:00
|
|
|
//
|
|
|
|
// FirstTimeUserViewController.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Roy Yang on 6/13/12.
|
|
|
|
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2012-06-15 10:49:51 -07:00
|
|
|
#import "NewsBlurAppDelegate.h"
|
2012-06-13 18:07:24 -07:00
|
|
|
|
|
|
|
@class NewsBlurAppDelegate;
|
|
|
|
|
2012-06-15 15:02:30 -07:00
|
|
|
@interface FirstTimeUserViewController : UIViewController <ASIHTTPRequestDelegate> {
|
2012-06-15 10:49:51 -07:00
|
|
|
NewsBlurAppDelegate *appDelegate;
|
2012-06-15 15:02:30 -07:00
|
|
|
NSMutableArray *categories;
|
2012-06-15 10:49:51 -07:00
|
|
|
int currentStep;
|
2012-06-15 15:02:30 -07:00
|
|
|
int importedGoogle;
|
2012-06-15 10:49:51 -07:00
|
|
|
}
|
2012-06-13 18:07:24 -07:00
|
|
|
|
2012-06-15 10:49:51 -07:00
|
|
|
@property (nonatomic, retain) IBOutlet NewsBlurAppDelegate *appDelegate;
|
2012-06-15 15:02:30 -07:00
|
|
|
@property (nonatomic, retain) NSMutableArray *categories;
|
2012-06-14 10:19:36 -07:00
|
|
|
@property (retain, nonatomic) IBOutlet UIButton *googleReaderButton;
|
2012-06-15 10:49:51 -07:00
|
|
|
@property (retain, nonatomic) IBOutlet UIView *welcomeView;
|
|
|
|
@property (retain, nonatomic) IBOutlet UIView *addSitesView;
|
|
|
|
@property (retain, nonatomic) IBOutlet UIView *addFriendsView;
|
|
|
|
@property (retain, nonatomic) IBOutlet UIView *addNewsBlurView;
|
2012-06-15 13:32:39 -07:00
|
|
|
@property (retain, nonatomic) IBOutlet UIToolbar *toolbar;
|
|
|
|
@property (retain, nonatomic) IBOutlet UIButton *toolbarTitle;
|
2012-06-15 15:02:30 -07:00
|
|
|
@property (retain, nonatomic) IBOutlet UIBarButtonItem *nextButton;
|
2012-06-15 10:49:51 -07:00
|
|
|
|
2012-06-15 15:02:30 -07:00
|
|
|
- (IBAction)tapNextButton;
|
2012-06-15 10:49:51 -07:00
|
|
|
- (IBAction)tapGoogleReaderButton;
|
2012-06-15 13:32:39 -07:00
|
|
|
- (IBAction)tapCategoryButton:(id)sender;
|
2012-06-15 16:35:54 -07:00
|
|
|
- (IBAction)tapNewsBlurButton:(id)sender;
|
2012-06-14 10:19:36 -07:00
|
|
|
|
2012-06-15 15:02:30 -07:00
|
|
|
- (void)addCategories;
|
2012-06-15 17:24:37 -07:00
|
|
|
- (void)selectGoogleReaderButton;
|
2012-06-15 15:02:30 -07:00
|
|
|
- (void)finishAddFolder:(ASIHTTPRequest *)request;
|
|
|
|
- (void)requestFailed:(ASIHTTPRequest *)request;
|
2012-06-15 16:35:54 -07:00
|
|
|
- (void)addSite:(NSString *)siteUrl;
|
2012-06-15 15:02:30 -07:00
|
|
|
|
2012-06-13 18:07:24 -07:00
|
|
|
@end
|