# Swift Score Function - Increment score every 0.25 seconds by 100

so I want to increment my score by 100 every 0.25 seconds, this is what I have so far and it's not working at all!

        let scoreDisplay = UILabel()
scoreDisplay.text = "Score: \(self.score)"
scoreDisplay.textColor = UIColor.red
scoreDisplay.frame = CGRect(x: mainWidth / 2 - 200, y: mainHeight - 400, width: 247, height: 100)