Objective-C版本的PeriscommentView PeriscommentView-OC

码农软件 · 软件分类 · 其他(Others) · 2019-07-17 07:59:13

软件介绍

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

screenshot

用法:

  • 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]

本文地址:https://codercto.com/soft/d/10308.html

Pro CSS Techniques

Pro CSS Techniques

Jeff Croft、Ian Lloyd、Dan Rubin / Apress / 2009-5-4 / GBP 31.49

Web Standards Creativity: Innovations in Web Design with CSS, DOM Scripting, and XHTML一起来看看 《Pro CSS Techniques》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试