update
This commit is contained in:
52
Pods/CocoaDebug/Sources/Sandbox/_FileTableViewCell.m
generated
Executable file
52
Pods/CocoaDebug/Sources/Sandbox/_FileTableViewCell.m
generated
Executable file
@@ -0,0 +1,52 @@
|
||||
//
|
||||
// Example
|
||||
// man
|
||||
//
|
||||
// Created by man 11/11/2018.
|
||||
// Copyright © 2020 man. All rights reserved.
|
||||
//
|
||||
|
||||
#import "_FileTableViewCell.h"
|
||||
|
||||
NSString *const _FileTableViewCellReuseIdentifier = @"_FileCell";
|
||||
|
||||
@implementation _FileTableViewCell
|
||||
|
||||
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
|
||||
self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier];
|
||||
|
||||
if (self) {
|
||||
[self setupViews];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)setupViews {
|
||||
|
||||
//liman
|
||||
self.backgroundColor = [UIColor blackColor];
|
||||
self.contentView.backgroundColor = [UIColor blackColor];
|
||||
|
||||
self.textLabel.textColor = [UIColor whiteColor];
|
||||
self.textLabel.adjustsFontSizeToFitWidth = YES;
|
||||
|
||||
self.detailTextLabel.textColor = [UIColor systemGrayColor];
|
||||
self.detailTextLabel.adjustsFontSizeToFitWidth = YES;
|
||||
self.detailTextLabel.font = [UIFont boldSystemFontOfSize:12];
|
||||
// self.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
|
||||
UIView *selectedView = [[UIView alloc] init];
|
||||
selectedView.backgroundColor = [UIColor clearColor];
|
||||
self.selectedBackgroundView = selectedView;
|
||||
}
|
||||
|
||||
#pragma mark - Action
|
||||
|
||||
|
||||
|
||||
#pragma mark - Public Methods
|
||||
|
||||
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user