From 94a1a8bc8eb5a43d4e7bcd3576e32aab034ef4a5 Mon Sep 17 00:00:00 2001 From: Paul Young Date: Sun, 14 Jul 2013 23:18:09 -0400 Subject: Cancelling ay previous rendering operation ASAP. --- example/ios/iOS UI Test/iOS UI Test/MasterViewController.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'example') diff --git a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m index accd9040..40aa791f 100644 --- a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m +++ b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m @@ -169,12 +169,11 @@ finishedRefreshWithFetcher:(GTMHTTPFetcher *)fetcher - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { MCTTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; - + [cell.messageRenderingOperation cancel]; + MCOIMAPMessage *message = self.messages[indexPath.row]; cell.textLabel.text = message.header.subject; - [cell.messageRenderingOperation cancel]; - cell.messageRenderingOperation = [self.imapSession plainTextBodyRenderingOperationWithMessage:message folder:@"INBOX"]; -- cgit v1.2.3