add files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
{
|
||||
if (self = [super initWithFrame:frame]) {
|
||||
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, 44)];
|
||||
label.textColor = [UIColor redColor];
|
||||
label.textColor = GIGAUIColorFromRGBA(0x777777);
|
||||
label.text = str;
|
||||
label.font = [UIFont boldSystemFontOfSize:18.0f];
|
||||
label.font = [UIFont fontWithName:@"PingFangSC-Medium" size:18.f];
|
||||
label.textAlignment = NSTextAlignmentCenter;
|
||||
[self addSubview:label];
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@ NSString *const kGiGaToken = @"GiGatoken";
|
||||
|
||||
+(BOOL)isShowedAppGaurd{
|
||||
BOOL showedGaurd = [UD_STADARDUD boolForKey:kShowAppGuard];
|
||||
[UD_STADARDUD synchronize];
|
||||
return showedGaurd;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user