• Stars
    star
    171
  • Rank 222,266 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Showing comments like Periscope

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