mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 12:54:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		| @@ -0,0 +1,33 @@ | ||||
| // | ||||
| //  FLEXTableLeftCell.m | ||||
| //  FLEX | ||||
| // | ||||
| //  Created by Peng Tao on 15/11/24. | ||||
| //  Copyright © 2015年 f. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import "FLEXTableLeftCell.h" | ||||
|  | ||||
| @implementation FLEXTableLeftCell | ||||
|  | ||||
| + (instancetype)cellWithTableView:(UITableView *)tableView { | ||||
|     static NSString *identifier = @"FLEXTableLeftCell"; | ||||
|     FLEXTableLeftCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier]; | ||||
|      | ||||
|     if (!cell) { | ||||
|         cell = [[FLEXTableLeftCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier]; | ||||
|         UILabel *textLabel               = [UILabel new]; | ||||
|         textLabel.textAlignment          = NSTextAlignmentCenter; | ||||
|         textLabel.font                   = [UIFont systemFontOfSize:13.0]; | ||||
|         [cell.contentView addSubview:textLabel]; | ||||
|         cell.titlelabel = textLabel; | ||||
|     } | ||||
|      | ||||
|     return cell; | ||||
| } | ||||
|  | ||||
| - (void)layoutSubviews { | ||||
|     [super layoutSubviews]; | ||||
|     self.titlelabel.frame = self.contentView.frame; | ||||
| } | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn