CalibrationCollectionViewCell.m 851 Bytes
Newer Older
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
//
//  CalibrationCollectionViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 2017/3/15.
//  Copyright © 2017年 上海勾芒科技有限公司. All rights reserved.
//

#import "CalibrationCollectionViewCell.h"

@implementation CalibrationCollectionViewCell


- (void)awakeFromNib
{
    [super awakeFromNib];
    [self uiConfigAction];
}

- (void)uiConfigAction
{
    self.detailsVc = [[BaseViewController getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"DateCalibrationDetailViewController"];
    [self.contentView addSubview:self.detailsVc.view];
    [self.detailsVc.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.top.bottom.equalTo(self.contentView);
    }];
}


- (void)setTimeLineEntity:(TimeLineType *)timeLineEntity
{
    self.detailsVc.timeLineEntity = timeLineEntity;
}

@end