PeriscommentView显示名称和注释的模块
PeriscommentView是可以显示名称和注释的模块,它的设计灵感来自Periscop。演示如下:
安装
CocoaPods是iOS项目管理器。所以需要使用CocoaPods去安装
pod 'PeriscommentView', '0.0.1'
用法
import PeriscommentView let periscommentView: PeriscommentView = ... let profileImage = UIImage(named: "hoge.png")! let name = "name" let comment = "comment" PeriscommentView.addCell(profileImage, name: name, comment: comment)
评论