aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-05-18 11:30:40 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-05-18 11:30:40 -0700
commit6e0b88498cf83995ac40dbebc2f4709e8e457eb5 (patch)
tree7858d352569c48c172e3f953645c7dad1c5c5d29 /example
parent8a140c39942d380c3612b94b5ea84c11d1e4a2f8 (diff)
Changed delegate prototype to make it easier to use the renderer and customize it.
Diffstat (limited to 'example')
-rw-r--r--example/mac/macExample/macExample/MCTMsgViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/mac/macExample/macExample/MCTMsgViewController.m b/example/mac/macExample/macExample/MCTMsgViewController.m
index 421f9bcf..dcb6f41c 100644
--- a/example/mac/macExample/macExample/MCTMsgViewController.m
+++ b/example/mac/macExample/macExample/MCTMsgViewController.m
@@ -117,7 +117,7 @@ typedef void (^DownloadCallback)(NSError * error);
NSLog(@"done: %@", blocks);
}
-- (NSString *) MCOMessageView_templateForAttachment:(MCOMessageView *)view
+- (NSString *) MCOMessageView:(MCOMessageView *)view templateForAttachment:(MCOAbstractPart *)part
{
return @"<div><img src=\"http://www.iconshock.com/img_jpg/OFFICE/general/jpg/128/attachment_icon.jpg\"/></div>\
{{#HASSIZE}}\