-
Notifications
You must be signed in to change notification settings - Fork 1
/
SateliteTableViewCell.m
41 lines (34 loc) · 1.06 KB
/
SateliteTableViewCell.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
//
// SateliteTableViewCell.m
// SpaceApps
//
// Created by Carlos Castellanos on 13/04/14.
// Copyright (c) 2014 Carlos Castellanos. All rights reserved.
//
#import "SateliteTableViewCell.h"
@implementation SateliteTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
UIImageView *satelite=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"satelite.jpg"]];
CGRect frame=CGRectMake(10, 10, 63, 63);
satelite.frame=frame;
[self addSubview:satelite];
_nombre=[[UILabel alloc]initWithFrame:CGRectMake(83, 20, 280, 60)];
[_nombre setFont:[UIFont systemFontOfSize:18]];
[self addSubview:_nombre];
// Initialization code
}
return self;
}
- (void)awakeFromNib
{
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end