pod 'FlashingLabel'dependencies: [
.package(url: "https://github.com/dokgi88/FlashingLabel.git", from: "1.0.6"),
/// ...
]- 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()- infinite mode
label.flashingColors = [.orange, .purple]
label.isInfinite = true- stop flashing
label.stopFlashing()FlashingLabel is available under the MIT license. See the LICENSE file for more info.



