Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 853 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 853 Bytes

PeriscommentView

This module can show name and comment, design inspired by Periscope. The demo is the following.

Demo

As you can see, profile color is picked at random and long comments is supported.

Installation

CocoaPods is a library manager for iOS projects. To install using CocoaPods:

pod 'PeriscommentView', '0.0.3'

Usage

import PeriscommentView

let periscommentView: PeriscommentView = ...
let profileImage = UIImage(named: "hoge.png")!
let name = "name"
let comment = "comment"
PeriscommentView.addCell(profileImage, name: name, comment: comment)

License

under MIT License