forked from iamlay/Encryptions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseViewController.h
More file actions
43 lines (36 loc) · 1.31 KB
/
BaseViewController.h
File metadata and controls
43 lines (36 loc) · 1.31 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
42
43
//
// BaseViewController.h
// Encryption
//
// Created by 雷传营 on 16/1/10.
// Copyright © 2016年 leichuanying. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "UIColor+AkColor.h"
#import "MBProgressHUD.h"
//#import "MBProgressHUD+Add.h"
#import "RegexKitLite.h"
#import "Reachability.h"
@interface BaseViewController : UIViewController
@property (nonatomic , assign) float w;
@property (nonatomic , assign) float h;
- (void)setNavTitle:(NSString *)title;
- (void)setNavRightButtonwithImg:(NSString *)normalImg selImg:(NSString *)selImg title:(NSString *)title action:(SEL)action;
- (void)setNavLeftButtonwithImg:(NSString *)normalImg selImg:(NSString *)selImg title:(NSString *)title action:(SEL)action;
- (void)setNavRightButtonEnable:(BOOL)enable;
- (void)setNavLeftButtonEnable:(BOOL)enable;
- (void)setNavBackArrow;
- (void)navGoHomeButtonClicked:(UIButton *)sender;
- (void)navBackButtonClicked:(UIButton *)sender;
//progress event
- (void)showProgressViewWithTitle:(NSString *)title;
- (void)hideProgressView;
- (void)hideProgressView:(BOOL)animation;
- (void)switchOfGR:(BOOL)flag;
- (void)showNoDataView:(NSString *)title;
- (void)hideNoDataView;
//nav下面的黑线
- (UIImageView *)findHairlineImageViewUnder:(UIView *)view;
- (NSAttributedString *)converHtml:(NSString *)htmlStr;
- (BOOL)isNetOK;
@end