• 授权协议:MIT
  • 开发厂商:-
  • 软件语言:Objective-C
  • 更新日期:2016-03-01
PeriscommentView-OC

PeriscommentView-OC 是OC版本的PeriscommentView。PeriscommentView是可以显示名称和注释的模块,它的设计灵感来自Periscop。

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]

PeriscommentView-OC Objective-C版本的PeriscommentView 相关推荐

PeriscommentView-OC Objective-C版本的PeriscommentView 评论内容