diff options
author | Jonathan Willing <jwilling@me.com> | 2013-05-13 23:41:05 -0500 |
---|---|---|
committer | Jonathan Willing <jwilling@me.com> | 2013-05-13 23:41:05 -0500 |
commit | 3cfd82ac63a6c7c162223404c51eeb7a1c751888 (patch) | |
tree | 2938bdf2437b73daa47dd520cfdd433dc2d16ec4 /example | |
parent | c0218db9dda70a2ace5789ba96d5f7823c476a9d (diff) |
spaces -> tabs
Diffstat (limited to 'example')
-rwxr-xr-x | example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm | 6 | ||||
-rw-r--r-- | example/ios/iOS UI Test/iOS UI Test/MasterViewController.m | 24 |
2 files changed, 12 insertions, 18 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm b/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm index 62db481a..97946a96 100755 --- a/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm +++ b/example/ios/iOS UI Test/iOS UI Test/MCOMessageView.mm @@ -148,14 +148,8 @@ NSString *replaceScript = [NSString stringWithFormat:@"replaceImageSrc(\"%@\", \"%@\")", urlString, cacheURL.absoluteString]; [_webView stringByEvaluatingJavaScriptFromString:replaceScript]; - - //[MCOCIDURLProtocol partDownloadedMessage:_message partUniqueID:partUniqueID data:previewData]; }]; } -// [MCOCIDURLProtocol startLoadingWithMessage:_message -// partUniqueID:partUniqueID -// data:data -// request:nil]; } } 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 bf72733e..c9866ff8 100644 --- a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m +++ b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m @@ -22,7 +22,7 @@ @implementation MasterViewController - (void)viewDidLoad { - [super viewDidLoad]; + [super viewDidLoad]; [[NSUserDefaults standardUserDefaults] registerDefaults:@{ HostnameKey: @"imap.gmail.com" }]; @@ -64,9 +64,9 @@ - (void)loadEmails { MCOIMAPMessagesRequestKind requestKind = (MCOIMAPMessagesRequestKind) - (MCOIMAPMessagesRequestKindHeaders | MCOIMAPMessagesRequestKindStructure | - MCOIMAPMessagesRequestKindInternalDate | MCOIMAPMessagesRequestKindHeaderSubject | - MCOIMAPMessagesRequestKindFlags); + (MCOIMAPMessagesRequestKindHeaders | MCOIMAPMessagesRequestKindStructure | + MCOIMAPMessagesRequestKindInternalDate | MCOIMAPMessagesRequestKindHeaderSubject | + MCOIMAPMessagesRequestKindFlags); self.imapMessagesFetchOp = [self.imapSession fetchMessagesByUIDOperationWithFolder:@"INBOX" requestKind:requestKind uids:[MCOIndexSet indexSetWithRange:MCORangeMake(1, UINT64_MAX)]]; @@ -86,7 +86,7 @@ } - (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; + [super didReceiveMemoryWarning]; NSLog(@"%s",__PRETTY_FUNCTION__); } @@ -101,12 +101,12 @@ } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath]; MCOIMAPMessage *message = self.messages[indexPath.row]; cell.textLabel.text = message.header.subject; - return cell; + return cell; } - (void)showSettingsViewController:(id)sender { @@ -133,12 +133,12 @@ } - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - MCOIMAPMessage *msg = self.messages[indexPath.row]; - MCTMsgViewController *vc = [[MCTMsgViewController alloc] init]; + MCOIMAPMessage *msg = self.messages[indexPath.row]; + MCTMsgViewController *vc = [[MCTMsgViewController alloc] init]; vc.folder = @"INBOX"; - vc.message = msg; - vc.session = self.imapSession; - [self.navigationController pushViewController:vc animated:YES]; + vc.message = msg; + vc.session = self.imapSession; + [self.navigationController pushViewController:vc animated:YES]; } @end |