//
//  ReplyDetailController.m
//  TheoryNetwork
//
//  Created by tederen on 2019/9/30.
//  Copyright © 2019 tederen. All rights reserved.
//

#import "ReplyDetailController.h"
#import "CommentModel.h"

@interface ReplyDetailController () {
    CommentModel *_currentModel;
}

@property (nonatomic, strong) TDNavigationBar *navigationBar;
@property (nonatomic, strong) TDTableView *tableView;

@end

@implementation ReplyDetailController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self.view addSubview:self.navigationBar];
}

- (void)loadCurrentCommentModel:(CommentModel *)model {
    _currentModel = model;
}

#pragma mark - setter
- (TDNavigationBar *)navigationBar {
    if (!_navigationBar) {
        _navigationBar = [[TDNavigationBar alloc] initNavigationBar];
        [_navigationBar setTitle:[NSString stringWithFormat:@"%@条回复", _currentModel.replyTimes]];
    }
    return _navigationBar;
}

@end