diff options
author | Paul Young <paulyoungonline@gmail.com> | 2013-07-14 23:36:39 -0400 |
---|---|---|
committer | Paul Young <paulyoungonline@gmail.com> | 2013-07-14 23:36:39 -0400 |
commit | f789d411c42d14ab9403470b06dc2c8b905018c3 (patch) | |
tree | 95b970cb413b232a2ef6cca690d4c1026b34151a /example/ios/iOS UI Test/iOS UI Test/MasterViewController.m | |
parent | 1ee4a022d831bd256f1ecc535864e1ba6c4885f1 (diff) |
Added prepareForReuse
* Moved cancellation of rendering operation and resetting of subtitle.
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MasterViewController.m')
-rw-r--r-- | example/ios/iOS UI Test/iOS UI Test/MasterViewController.m | 5 |
1 files changed, 1 insertions, 4 deletions
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 9e6f49df..b6a2206e 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,9 @@ finishedRefreshWithFetcher:(GTMHTTPFetcher *)fetcher - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { MCTTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; - [cell.messageRenderingOperation cancel]; - cell.detailTextLabel.text = @" "; - MCOIMAPMessage *message = self.messages[indexPath.row]; - cell.textLabel.text = message.header.subject; + cell.textLabel.text = message.header.subject; cell.messageRenderingOperation = [self.imapSession plainTextBodyRenderingOperationWithMessage:message folder:@"INBOX"]; |