A simple view that show pulsing dots
- Drag&Drop
RSDotsView.swift
in your project - 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)
- Change the dotsColor
dots.dotsColor = UIColor.redColor()
- Start or Stop animating the dots
dots.startAnimating()
dots.stopAnimating()
Enjoy