forked from hakehong/Mark-v.1.3.0-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestCell.m
44 lines (40 loc) · 1.13 KB
/
testCell.m
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
38
39
40
41
42
43
44
//
// testCell.m
// Mark
//
// Created by hongqing on 16/4/13.
// Copyright © 2016年 hongqing. All rights reserved.
//
#import "testCell.h"
@implementation testCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self =[super initWithStyle:style reuseIdentifier:reuseIdentifier];
if(self)
{
NSArray *views = [[NSBundle mainBundle] loadNibNamed:@"testCell" owner:nil options:nil];
self=[views firstObject];
}
return self;
}
//- (void)layoutSubviews {
// [super layoutSubviews];
// _image.frame = CGRectMake(0, 0, Kwidth,200);
// self.leftView.frame =CGRectMake(Kwidth-40, 0, 30, 50);
// self.nameLabel.frame =CGRectMake(20, 150, Kwidth-40, 30);
//}
//- (void)commonInit {
// [self addSubview:self.image];
// [self.image addSubview:self.UnwatchImage];
// [self.image addSubview:self.is_Liked];
// [self.image addSubview:self.likeNum];
// [self.image addSubview:self.nameLabel];
//}
//- (UIImageView *)image {
// if (_image == nil) {
// _image =[[UIImageView alloc ]init];
//
// }
// return _image;
//}
@end