/PeriscommentView

Showing comments like Periscope

Primary LanguageSwiftMIT LicenseMIT

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