-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirstCell.m
More file actions
executable file
·37 lines (26 loc) · 855 Bytes
/
Copy pathFirstCell.m
File metadata and controls
executable file
·37 lines (26 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// FirstCell.m
// DouYU
//
// Created by Alesary on 15/11/5.
// Copyright © 2015年 Alesary. All rights reserved.
//
#import "FirstCell.h"
@interface FirstCell ()
@property (strong, nonatomic) IBOutlet UIImageView *HeadView;
@end
@implementation FirstCell
+(instancetype)GetCellWithTableView:(UITableView *)tableView
{
static NSString *identfire=@"FirstCell";
FirstCell *cell=[tableView dequeueReusableCellWithIdentifier:identfire];
if (!cell) {
cell=[[[NSBundle mainBundle]loadNibNamed:@"FirstCell" owner:nil options:nil] firstObject];
cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
cell.selectionStyle=UITableViewCellSelectionStyleNone;
cell.HeadView.layer.cornerRadius=65/2;
cell.HeadView.layer.masksToBounds=YES;
}
return cell;
}
@end