2010-11-13 18:32:43 -05:00
|
|
|
//
|
|
|
|
// OriginalStoryViewController.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Samuel Clay on 11/13/10.
|
|
|
|
// Copyright 2010 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2011-10-27 09:44:58 -07:00
|
|
|
#import "BaseViewController.h"
|
2014-09-17 16:41:48 -07:00
|
|
|
#import "SloppySwiper.h"
|
2010-11-13 18:32:43 -05:00
|
|
|
|
|
|
|
@class NewsBlurAppDelegate;
|
|
|
|
|
2011-10-27 09:44:58 -07:00
|
|
|
@interface OriginalStoryViewController : BaseViewController
|
2014-02-03 18:54:50 -08:00
|
|
|
<UIActionSheetDelegate, UITextFieldDelegate, UIWebViewDelegate,
|
|
|
|
UIGestureRecognizerDelegate> {
|
2010-11-13 18:32:43 -05:00
|
|
|
|
|
|
|
NewsBlurAppDelegate *appDelegate;
|
2014-01-08 13:38:18 -08:00
|
|
|
NSString *activeUrl;
|
|
|
|
NSMutableArray *visitedUrls;
|
2010-11-13 18:32:43 -05:00
|
|
|
UIWebView *webView;
|
2014-01-08 13:38:18 -08:00
|
|
|
UIBarButtonItem *backBarButton;
|
2014-02-03 16:59:08 -08:00
|
|
|
UILabel *titleView;
|
2014-03-21 15:27:40 -07:00
|
|
|
UIBarButtonItem *closeButton;
|
2010-11-13 18:32:43 -05:00
|
|
|
}
|
|
|
|
|
2012-07-15 15:06:06 -07:00
|
|
|
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
|
|
|
|
@property (nonatomic) IBOutlet UIWebView *webView;
|
2014-09-17 16:41:48 -07:00
|
|
|
@property (strong, nonatomic) SloppySwiper *swiper;
|
2010-11-13 18:32:43 -05:00
|
|
|
|
2014-01-16 17:15:29 -08:00
|
|
|
- (void)loadInitialStory;
|
2013-09-07 02:35:47 -05:00
|
|
|
- (IBAction) doOpenActionSheet:(id)sender;
|
2011-08-16 19:55:44 -07:00
|
|
|
- (IBAction)loadAddress:(id)sender;
|
2013-03-04 15:09:09 -08:00
|
|
|
- (IBAction)webViewGoBack:(id)sender;
|
|
|
|
- (IBAction)webViewGoForward:(id)sender;
|
|
|
|
- (IBAction)webViewRefresh:(id)sender;
|
2011-07-15 17:51:22 -07:00
|
|
|
- (void)updateTitle:(UIWebView*)aWebView;
|
2014-03-21 15:27:40 -07:00
|
|
|
- (void)closeOriginalView;
|
2011-07-14 19:57:49 -07:00
|
|
|
|
2010-11-13 18:32:43 -05:00
|
|
|
@end
|