Created
June 15, 2017 13:44
-
-
Save yabenatti/a97b4172f0a04b53802f3877f8a92dbe to your computer and use it in GitHub Desktop.
Reusable TableViewCell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
static NSString * const reusableCellIdentifier = @"reusableCell"; | |
@interface ReusableTableCell : UITableViewCell | |
@property (weak, nonatomic) IBOutlet UIImageView *reusableImageView; | |
@property (weak, nonatomic) IBOutlet UILabel *reusableLabel; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "ReusableTableCell.h" | |
@implementation ReusableTableCell | |
- (void)awakeFromNib { | |
[super awakeFromNib]; | |
// Initialization code | |
} | |
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { | |
[super setSelected:selected animated:animated]; | |
// Configure the view for the selected state | |
} | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Set the cell as the .h above NOOOOOT THE FILE OWNER */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment