You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
854 B
35 lines
854 B
// |
|
// TFSetLogoutTableViewCell.m |
|
// WXReader |
|
// |
|
// Created by 谢腾飞 on 2020/12/2. |
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved. |
|
// |
|
|
|
#import "TFSetLogoutTableViewCell.h" |
|
|
|
@interface TFSetLogoutTableViewCell () |
|
|
|
@end |
|
|
|
@implementation TFSetLogoutTableViewCell |
|
|
|
- (void)createSubviews |
|
{ |
|
[super createSubviews]; |
|
|
|
self.backgroundColor = [UIColor clearColor]; |
|
|
|
self.leftTitleLabel.text = TFLocalizedString(@"退出登录"); |
|
self.leftTitleLabel.textAlignment = NSTextAlignmentCenter; |
|
self.leftTitleLabel.textColor = kWhiteColor; |
|
self.leftTitleLabel.backgroundColor = kRedColor; |
|
self.leftTitleLabel.layer.cornerRadius = 4; |
|
self.leftTitleLabel.clipsToBounds = YES; |
|
|
|
[self.leftTitleLabel mas_updateConstraints:^(MASConstraintMaker *make) { |
|
make.height.mas_equalTo(40); |
|
}]; |
|
} |
|
|
|
@end
|
|
|