remstos / RSDotsView

A simple view that show pulsing dots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSDotsView

A simple view that show pulsing dots

Preview

How to use

  1. Drag&Drop RSDotsView.swift in your project
  2. Create a RSdotsView and add it to a view (or use storyboard)
  var dots = RSDotsView(frame: CGRectMake(50, 50, 300, 300))
  self.view.addSubview(dots)
  1. Change the dotsColor
  dots.dotsColor = UIColor.redColor()
  1. Start or Stop animating the dots
  dots.startAnimating()
  dots.stopAnimating()

Enjoy

About

A simple view that show pulsing dots


Languages

Language:Swift 100.0%