A simple view that show pulsing dots
- Drag&Drop
RSDotsView.swiftin your project - Create a
RSdotsViewand 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
