|
@@ -18,7 +18,7 @@ static NSString * const kLoanCell = @"ASHomeLoanTableViewCell";
|
18
|
18
|
static NSString * const kAnnounceCell = @"ASHomeAnnounceTableViewCell";
|
19
|
19
|
static NSString * const kDescCell = @"ASHomeDescTableViewCell";
|
20
|
20
|
|
21
|
|
-@interface ASHomeViewController () <UINavigationControllerDelegate,UITableViewDelegate,UITableViewDataSource,ASHomeLoanTableViewCellDelegate>
|
|
21
|
+@interface ASHomeViewController () <UITableViewDelegate,UITableViewDataSource,ASHomeLoanTableViewCellDelegate>
|
22
|
22
|
@property(nonatomic, strong) UITableView *tableView;
|
23
|
23
|
@property(nonatomic, strong) ASHomeViewModel *homeViewModel;
|
24
|
24
|
@end
|
|
@@ -29,7 +29,7 @@ static NSString * const kDescCell = @"ASHomeDescTableViewCell";
|
29
|
29
|
|
30
|
30
|
- (void)viewDidLoad {
|
31
|
31
|
[super viewDidLoad];
|
32
|
|
- self.navigationController.delegate = self;
|
|
32
|
+ self.fd_prefersNavigationBarHidden = YES;
|
33
|
33
|
[self initializeUI];
|
34
|
34
|
[self requestNoticeList];
|
35
|
35
|
}
|
|
@@ -143,10 +143,6 @@ static NSString * const kDescCell = @"ASHomeDescTableViewCell";
|
143
|
143
|
return [self.homeViewModel heightForRowAtIndexPath:indexPath];
|
144
|
144
|
}
|
145
|
145
|
|
146
|
|
-- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated {
|
147
|
|
- [self.navigationController setNavigationBarHidden:[viewController isKindOfClass:[self class]] animated:animated];
|
148
|
|
-}
|
149
|
|
-
|
150
|
146
|
#pragma mark - External Delegate Methods
|
151
|
147
|
|
152
|
148
|
#pragma mark - Target Mehtods
|