0

I know how to fade the background. This is how I do it:

self.faderTimer = NSTimer.scheduledTimerWithTimeInterval(self.fadeTime, target: self, selector: #selector(self.fadeBackground), userInfo: nil, repeats: true)
func fadeBackground(){
    UIView.animateWithDuration(self.fadeTime, delay: 0, options: UIViewAnimationOptions.AllowUserInteraction, animations: { [unowned self] () -> Void in
        self.fadeView.backgroundColor = UIColor.randomFlatColor()
    }) { (Bool) -> Void in

    }
}

How can I do the same thing with TextColor in UILabel?

TIMEX
  • 259,804
  • 351
  • 777
  • 1,080

0 Answers0