certaindaniel / SwiftSpeechBubble

Speech Bubble implemented as a subclass of UIView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftSpeechBubble

Speech Bubble view you can attach to the top of other views.
Styles (padding, corner radius, border width, etc) adjust automatically depending on the font size.

sample

Usage

  let bubbleView = SpeechBubble(baseView: buttonView, text: "Yay! Bark!", fontSize: 16.0, side: .bottom)
  parentView.addSubview(bubbleView)

Referece

It's a library developed for Bark project: Bark - Don't speak, Let's bark!.
This code is available under the MIT license.

About

Speech Bubble implemented as a subclass of UIView


Languages

Language:Swift 100.0%