You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1022 B
41 lines
1022 B
// |
|
// XHBaseTableViewCell.m |
|
// MessageDisplayExample |
|
// |
|
// Created by dw_iOS on 14-5-20. |
|
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved. |
|
// |
|
|
|
#import "XHBaseTableViewCell.h" |
|
|
|
@implementation XHBaseTableViewCell |
|
|
|
- (void)baseSetup { |
|
self.imageView.image = nil; |
|
self.imageView.hidden = YES; |
|
self.textLabel.text = nil; |
|
self.textLabel.hidden = YES; |
|
self.detailTextLabel.text = nil; |
|
self.detailTextLabel.hidden = YES; |
|
} |
|
|
|
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { |
|
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; |
|
if (self) { |
|
// Initialization code |
|
[self baseSetup]; |
|
} |
|
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
|
|
|