NewsBlur/clients/ios/Classes/OriginalStoryViewController.h
David Sinclair c9e02c600b iOS: done #816 (replacing action sheets)
Only the older/newer long-press one; still have the story image one,
but I think that’s okay as-is since it has a title/alt text display.
Also removed some redundant code.
2015-11-29 18:08:44 -08:00

48 lines
1.3 KiB
Objective-C

//
// OriginalStoryViewController.h
// NewsBlur
//
// Created by Samuel Clay on 11/13/10.
// Copyright 2010 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BaseViewController.h"
//#import "SloppySwiper.h"
#import "NJKWebViewProgressView.h"
#import "NJKWebViewProgress.h"
#import <WebKit/WebKit.h>
@class NewsBlurAppDelegate;
@interface OriginalStoryViewController : BaseViewController
<UITextFieldDelegate, WKNavigationDelegate, WKUIDelegate,
UIGestureRecognizerDelegate> {
NewsBlurAppDelegate *appDelegate;
NSString *activeUrl;
NSMutableArray *visitedUrls;
WKWebView *webView;
UIBarButtonItem *backBarButton;
UILabel *titleView;
UIBarButtonItem *closeButton;
NJKWebViewProgressView *progressView;
BOOL finishedLoading;
}
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
@property (nonatomic) IBOutlet WKWebView *webView;
//@property (strong, nonatomic) SloppySwiper *swiper;
@property (nonatomic) NJKWebViewProgressView *progressView;
- (void)resetProgressBar;
- (void)loadInitialStory;
- (IBAction) doOpenActionSheet:(id)sender;
- (IBAction)loadAddress:(id)sender;
- (IBAction)webViewGoBack:(id)sender;
- (IBAction)webViewGoForward:(id)sender;
- (IBAction)webViewRefresh:(id)sender;
- (void)updateTitle:(WKWebView*)aWebView;
- (void)closeOriginalView;
@end