add files

This commit is contained in:
lianxiang
2018-08-31 18:23:25 +08:00
parent 3efde8e0ea
commit e64e011d8f
26 changed files with 496 additions and 256 deletions
@@ -17,6 +17,7 @@
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
self.interactivePopGestureRecognizer.delegate = (id)self;
self.view.backgroundColor = UIColor.whiteColor;
}
+14 -9
View File
@@ -9,15 +9,11 @@
#import "GiGaBaseViewController.h"
#import "UIView+Toast.h"
#import "GiGaNavTitileView.h"
#import "UINavigationBar+Custom.h"
@interface GiGaBaseViewController ()
{
// UIColor *navigationBarBGColor; //导航栏背景色
// UIColor *navigationBarTitleColor; //导航栏标题字色
// SEL _rightBtnAction;
// SEL _refreshHeaderSelector;
// SEL _refreshFooterSelector;
}
@end
@@ -27,8 +23,18 @@
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
[self.view addSubview:_tableView];
//[self testNetworkStatus];
}
-(void)viewWillDisappear:(BOOL)animated{
[super viewWillDisappear:animated];
}
-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
[self.navigationController.navigationBar cnSetBackgroundColor:GIGAUIColorFromRGB_A(0xD8D8D8, 0.2)];
}
-(void)addNavTitile:(NSString *)title{
@@ -93,7 +99,6 @@
_tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
}
return _tableView;
}
- (void)didReceiveMemoryWarning {