PeriscommentView显示名称和注释的模块

联合创作 · 2023-09-27 14:00

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

Demo

安装

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)
浏览 7
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报