Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // CustomCell.h
- //
- //
- // Created by GamingRobot on 1/26/09.
- // Copyright 2009 VishunStudios All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @interface CustomCell : UITableViewCell {
- IBOutlet UILabel *label1;
- IBOutlet UILabel *label2;
- //IBOutlet UILabel *label3;
- IBOutlet UIImageView *cell_image;
- }
- @property (nonatomic,retain) IBOutlet UILabel *label1;
- @property (nonatomic,retain) IBOutlet UILabel *label2;
- @property (nonatomic,retain) IBOutlet UILabel *label3;
- @property (nonatomic,retain) IBOutlet UIImageView *cell_image;
- @end
- //
- // CustomCell.m
- //
- //
- // Created by Julio Barros on 1/26/09.
- // Copyright 2009 VishunStudios All rights reserved.
- //
- #import "CustomCell.h"
- @implementation CustomCell
- @synthesize label1;
- @synthesize label2;
- @synthesize label3;
- @synthesize cell_image;
- - (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier {
- if (self = [super initWithFrame:frame reuseIdentifier:reuseIdentifier]) {
- // Initialization code
- }
- return self;
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- - (void)dealloc {
- [super dealloc];
- [label1 release];
- [label2 release];
- [label3 release];
- [cell_image release];
- }
- @end
Add Comment
Please, Sign In to add comment