//
//  SegmentCell.m
//  ASR033W
//
//  Created by mac on 2020/11/25.
//

#import "SegmentCell.h"

@implementation SegmentCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)onClickSegment:(UISegmentedControl *)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(whenClickSysSegment:)]) {
        [self.delegate whenClickSysSegment:self];
    }
}
@end
