36 lines
662 B
Objective-C
36 lines
662 B
Objective-C
//
|
|
// SetTimerCell.m
|
|
// Ifish
|
|
//
|
|
// Created by Alex on 2019/5/1.
|
|
// Copyright © 2019 lianlian. All rights reserved.
|
|
//
|
|
|
|
#import "SetTimerCell.h"
|
|
|
|
@interface SetTimerCell ()
|
|
|
|
|
|
@end
|
|
|
|
@implementation SetTimerCell
|
|
|
|
- (void)awakeFromNib {
|
|
[super awakeFromNib];
|
|
// Initialization code
|
|
}
|
|
|
|
- (void)configTitleLabel:(NSString *)title timer:(NSString *)timeStr switchStatus:(BOOL)status {
|
|
_titleLabel.text = title;
|
|
_timerLabel.text = timeStr;
|
|
_switchBtn.selected = status;
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|