//
// 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
-
曹云霄 authored73525f75