/ Label

Very easy to use and simple Flashing Label

Very easy to use and simple Flashing Label

FlashingLabel

Very easy to use and simple Flashing Label.

flashinglabel_play

Install

pod 'FlashingLabel'

Example

  • required
baseColor = UIColor.orange
flashingColors = [UIColor.orange.withAlphaComponent(0.5)]
flashingTime = 0.17
startFlashing()
  • init and start flashing
let label = FlashingLabel()
label.baseColor = UIColor.orange
label.flashingColors = [UIColor.orange.withAlphaComponent(0.5)]
label.flashingTime = 0.17
label.text = "HELLO"
label.startFlashing()
  • stop flashing
label.stopFlashing()

GitHub