forked from sinuos-zz/shadowsocks-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSWBViewController.h
More file actions
41 lines (30 loc) · 1.1 KB
/
SWBViewController.h
File metadata and controls
41 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// SWBViewController.h
// ShadowWeb
//
// Created by clowwindy on 2/16/13.
// Copyright (c) 2013 clowwindy. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SWBTabBarView.h"
#import "SWBWebViewContainer.h"
#import "SWBPageManager.h"
#define kToolBarHeight 44
#define kCancelButtonWidth 70
#define kActionButtonWidth 44
@interface SWBViewController : UIViewController <UITextFieldDelegate, SWBTabBarDelegate, SWBWebViewContainerDelegate, UIScrollViewDelegate, UIActionSheetDelegate> {
NSInteger lastTag;
NSInteger currentTabTag;
}
@property (nonatomic, strong) SWBTabBarView *tabBar;
@property (nonatomic, strong) SWBWebViewContainer *webViewContainer;
@property (nonatomic, retain) UIActionSheet *actionSheet;
@property (nonatomic, retain) SWBPageManager *pageManager;
@property (strong, nonatomic) UIToolbar *addrbar;
@property (strong, nonatomic) NSMutableArray *addrItemsActive;
@property (strong, nonatomic) NSMutableArray *addrItemsInactive;
@property (strong, nonatomic) UITextField *urlField;
-(void)openLinkInNewTab:(NSString *)urlString;
-(void)savePageIndex;
-(void)saveData;
@end