-
Notifications
You must be signed in to change notification settings - Fork 7
/
LoupanInfoCell.m
61 lines (47 loc) · 1.76 KB
/
LoupanInfoCell.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// LoupanInfoCell.m
// House_Map_Message
//
// Created by 1007 on 14-1-7.
// Copyright (c) 2014年 Ibokan. All rights reserved.
//
#import "LoupanInfoCell.h"
@implementation LoupanInfoCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
// Initialization code
self.loupanNewDate = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, 150, 20)];
self.loupanNewDate.font = [UIFont systemFontOfSize:12];
self.loupanFitmtype = [[UILabel alloc] initWithFrame:CGRectMake(160, 5, 150, 20)];
self.loupanFitmtype.font = [UIFont systemFontOfSize:12];
self.buildType = [[UILabel alloc] initWithFrame:CGRectMake(10, 30, 250, 20)];
self.buildType.font = [UIFont systemFontOfSize:12];
self.address = [[UILabel alloc] initWithFrame:CGRectMake(10, 55, 300, 20)];
self.address.font = [UIFont systemFontOfSize:12];
self.company = [[UILabel alloc] initWithFrame:CGRectMake(10, 80, 300, 20)];
self.company.font = [UIFont systemFontOfSize:12];
[self addSubview:self.loupanNewDate];
[self addSubview:self.loupanFitmtype];
[self addSubview:self.buildType];
[self addSubview:self.address];
[self addSubview:self.company];
}
return self;
}
- (void)dealloc
{
[_loupanNewDate release];
[_loupanFitmtype release];
[_buildType release];
[_address release];
[_company release];
[super dealloc];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end