PeriscommentView-OC Objective-C版本的PeriscommentView 项目简介
PeriscommentView-OC 是OC版本的PeriscommentView。PeriscommentView是可以显示名称和注释的模块,它的设计灵感来自Periscop。演示如下:用法:Swift 用法import PeriscommentView
let periscommentView: PeriscommentView = ...
let profileImage = UIImage(named: "hoge.png")!
let name = "name"
let comment = "comment"
PeriscommentView.addCell(profileImage, name: name, comment: comment)Objective-C 用法TTPeriscommentView *periscommentView = [TTPeriscommentView initWithFrame:...];
UIImage *avatar = [UIImage imageNamed:@"twitterProfile.jpeg"];
NSString *name = @"@yoavlt";
NSString *comment = @"Awesome!";
[periscommentView addCellWithName:name comment:comment profileImage:avatar]
let periscommentView: PeriscommentView = ...
let profileImage = UIImage(named: "hoge.png")!
let name = "name"
let comment = "comment"
PeriscommentView.addCell(profileImage, name: name, comment: comment)Objective-C 用法TTPeriscommentView *periscommentView = [TTPeriscommentView initWithFrame:...];
UIImage *avatar = [UIImage imageNamed:@"twitterProfile.jpeg"];
NSString *name = @"@yoavlt";
NSString *comment = @"Awesome!";
[periscommentView addCellWithName:name comment:comment profileImage:avatar]