Guest User

Untitled

a guest
Jun 20th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. //
  2. // CustomCell.h
  3. //
  4. //
  5. // Created by GamingRobot on 1/26/09.
  6. // Copyright 2009 VishunStudios All rights reserved.
  7. //
  8.  
  9. #import <UIKit/UIKit.h>
  10.  
  11.  
  12. @interface CustomCell : UITableViewCell {
  13. IBOutlet UILabel *label1;
  14. IBOutlet UILabel *label2;
  15. //IBOutlet UILabel *label3;
  16. IBOutlet UIImageView *cell_image;
  17. }
  18.  
  19. @property (nonatomic,retain) IBOutlet UILabel *label1;
  20. @property (nonatomic,retain) IBOutlet UILabel *label2;
  21. @property (nonatomic,retain) IBOutlet UILabel *label3;
  22. @property (nonatomic,retain) IBOutlet UIImageView *cell_image;
  23.  
  24. @end
  25.  
  26.  
  27. //
  28. // CustomCell.m
  29. //
  30. //
  31. // Created by Julio Barros on 1/26/09.
  32. // Copyright 2009 VishunStudios All rights reserved.
  33. //
  34.  
  35. #import "CustomCell.h"
  36.  
  37.  
  38. @implementation CustomCell
  39.  
  40. @synthesize label1;
  41. @synthesize label2;
  42. @synthesize label3;
  43. @synthesize cell_image;
  44.  
  45. - (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier {
  46. if (self = [super initWithFrame:frame reuseIdentifier:reuseIdentifier]) {
  47. // Initialization code
  48. }
  49. return self;
  50. }
  51.  
  52.  
  53. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  54.  
  55. [super setSelected:selected animated:animated];
  56.  
  57. // Configure the view for the selected state
  58. }
  59.  
  60.  
  61. - (void)dealloc {
  62. [super dealloc];
  63. [label1 release];
  64. [label2 release];
  65. [label3 release];
  66. [cell_image release];
  67. }
  68.  
  69.  
  70. @end
Add Comment
Please, Sign In to add comment