aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
diff options
context:
space:
mode:
authorGravatar Paul Young <paulyoungonline@gmail.com>2013-07-15 00:10:22 -0400
committerGravatar Paul Young <paulyoungonline@gmail.com>2013-07-15 00:10:22 -0400
commit739398c238744901170a3800bd3d19f3ad584911 (patch)
tree4d7fa7ca13972ed73ba826bd7eed48fea71eec93 /example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
parentf789d411c42d14ab9403470b06dc2c8b905018c3 (diff)
Registered a class for cell reuse.
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m')
-rw-r--r--example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m b/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
index bf0df5fb..1c45b0ec 100644
--- a/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
+++ b/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
@@ -10,6 +10,12 @@
@implementation MCTTableViewCell
+- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
+{
+ self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier];
+ return self;
+}
+
- (void)prepareForReuse
{
[self.messageRenderingOperation cancel];