I am making a screensaver in Xcode. I draw on the screen (just some points that move and change color) in the draw() function like this,
override func draw(_