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-14 23:36:39 -0400
committerGravatar Paul Young <paulyoungonline@gmail.com>2013-07-14 23:36:39 -0400
commitf789d411c42d14ab9403470b06dc2c8b905018c3 (patch)
tree95b970cb413b232a2ef6cca690d4c1026b34151a /example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
parent1ee4a022d831bd256f1ecc535864e1ba6c4885f1 (diff)
Added prepareForReuse
* Moved cancellation of rendering operation and resetting of subtitle.
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 21d22e38..bf0df5fb 100644
--- a/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
+++ b/example/ios/iOS UI Test/iOS UI Test/MCTTableViewCell.m
@@ -10,4 +10,10 @@
@implementation MCTTableViewCell
+- (void)prepareForReuse
+{
+ [self.messageRenderingOperation cancel];
+ self.detailTextLabel.text = @" ";
+}
+
@end